(1)无法用所有默认用户登录SQL Plus :
解决方案:运行->cmd-> 键入命令:sqlplus / as sysdba
(2)查询数据库中所有用户:select username from dba_users;
(3)查询数据库中所有表空间:select * from sys.dba_tablespaces;
(4)创建用户:
create user dcuser default tablespace users
tamporary tablespace temp;
alter user dcuser indentified by dvtecc;
(5)遇到如下错误:
5.1 ORA-28000:账户已被锁定
5.2 ORA-01045
SP2-0640:为连接
解决方案:
授权:Grant resource,conect to dcuser;
Grant create session to dcuser;
本文介绍了Oracle数据库的常见管理操作,包括用户登录问题解决、查询数据库用户及表空间的方法,以及创建用户的步骤。此外,还提供了针对特定错误(如ORA-28000账户被锁定)的解决方案。
3878

被折叠的 条评论
为什么被折叠?



