本人联系邮箱:jia.wang_vip@foxmail.com

ORA-01991错误

重建密码文件--解决ORA-01991错误
直接冷备份oracle的数据文件,安装好oracle后,直接恢复到原来对应的目录。启动,出现:
解决方法,由于未运行在归档模式下,使用orapwd重建oracle的密码文件:

C:\>orapwd /help
Usage: orapwd file= password=entries=

  where
    file - name of password file (mand),
    password - password for SYS (mand),
    entries - maximum number of distinct DBA and OPERs (opt),
  There are no spaces around the equal-to (=) character.

SQL> host del D:\oracle\ora92\DATABASE\PWDora9.ORA

SQL> host orapwd file=D:\oracle\ora92\DATABASE\PWDora9.ORA password=oraclepass e
ntries=10

SQL> alter database open;

数据库已更改。

重新登录的时候,应该输入旧数据库设定的密码;

 

 

posted on 2013-10-14 16:17  喽水把子  阅读(261)  评论(0编辑  收藏  举报

导航