使用ORAPWD 命令可以修改SYS和INTERNAL的密码 Usage: orapwd file=<fname> password=<password> entries=<use where file - name of password file (mand), password - password for SYS and INTERNAL (mand), entries - maximum number of distinct DBA and OPERs (opt There are no spaces around the equal-to (=) character.
Usage: orapwd file=<fname> password=<password> entries=<use where
file - name of password file (mand),
password - password for SYS and INTERNAL (mand),
entries - maximum number of distinct DBA and OPERs (opt
There are no spaces around the equal-to (=) character.
是提示 :“没有给出登陆口令,无法登陆。”
我现在连登陆都登不进去了,
因为SYS用户和SYSTEM用户都不行了,
而且以前没有新建别的用户名。
你上面列出的是执行orapwd.exe之后出现的现象阿。
2、将此密码文件先移到其它地方,记住其名字。
3、建一个同样名称的密码文件:
在DOS模式下运行:
c:\ORAPWD file=\oracle\ora92\database\pwdSid.ora PASSWORD=password ENTRIES=10
其中的password即为SYS账户的密码,可为任意密码。
4、再连接到数据库
c:\sqlplus /nolog
SQL>conn sys/password as sysdba; --password是刚才建立的password。