概述
解决方法:
关闭数据库:
SQL> shutdown immediate;
ORA-01507: database not mounted
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.
Total System Global Area 764121088 bytes
Fixed Size 2232272 bytes
Variable Size 482345008 bytes
Database Buffers 276824064 bytes
Redo Buffers 2719744 bytes
Database mounted
SQL> desc dba_users;
ERROR:
ORA-04043: object dba_users does not exist
SQL> alter database open;
Database altered.
SQL> dsec dba_users;
SP2-0734: unknown command beginning "dsec dba_u..." - rest of line ignored.
SQL> alter system flush shared_pool;
System altered.
SQL> desc dba_users;
Name Null? Type
----------------------------------------- -------- ----------------------------
USERNAME NOT NULL VARCHAR2(30)
USER_ID NOT NULL NUMBER
PASSWORD VARCHAR2(30)
ACCOUNT_STATUS NOT NULL VARCHAR2(32)
LOCK_DATE DATE
EXPIRY_DATE DATE
DEFAULT_TABLESPACE NOT NULL VARCHAR2(30)
TEMPORARY_TABLESPACE NOT NULL VARCHAR2(30)
CREATED NOT NULL DATE
PROFILE NOT NULL VARCHAR2(30)
INITIAL_RSRC_CONSUMER_GROUP VARCHAR2(30)
EXTERNAL_NAME VARCHAR2(4000)
PASSWORD_VERSIONS VARCHAR2(8)
EDITIONS_ENABLED VARCHAR2(1)
AUTHENTICATION_TYPE VARCHAR2(8)
最后
以上就是虚幻柜子为你收集整理的oracle ORA-01219、ORA-01507和ORA-04043报错的全部内容,希望文章能够帮你解决oracle ORA-01219、ORA-01507和ORA-04043报错所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复