默认用户 sys system scott 等
sys用户登陆oracle
sqlplus / as sysdba
显示登陆用户
show user;
创建用户,同时授予会话权限
create user username identified by password;
grant create session to lisi
创建用户后登陆数据库(不要在sys登陆窗口登陆,新启cmd窗口)
sqlplus lisi/lisi
2022-11-26 23:09:33
默认用户 sys system scott 等
sys用户登陆oracle
sqlplus / as sysdba
显示登陆用户
show user;
创建用户,同时授予会话权限
create user username identified by password;
grant create session to lisi
创建用户后登陆数据库(不要在sys登陆窗口登陆,新启cmd窗口)
sqlplus lisi/lisi