Oracle 忘记数据库密码解决方法
Oracle 忘记数据库密码解决方法
对于Oracle 10g来说:
1.如果不记得sys用户的密码了,采用如下方法可以修改密码:
(1)打开cmd,输入sqlplus /nolog,回车。
(2)输入“conn / as sysdba”;
(3)输入“alter user sys identified by 新密码;”(新密码必须以字母开头,另外每条SQL语句后得分号不能忘)
其他用户方式同理
2.(1)在cmd中启动sqlplus;
(2)用sqlplus/as sysdba登录,使其连接到:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
(3)执行ALTER USER DBSNMP ACCOUNT UNLOCK;
(4) 从新用SQL/PLUS登录,设置用户名、密码;
附:Oracle 10g 默认安装带来的用户名/密码
Username |
Password |
Description |
See Also |
CTXSYS |
CTXSYS |
The |
Oracle |
DBSNMP |
DBSNMP |
The account used by the Management Agent component of |
Oracle |
LBACSYS |
LBACSYS |
The |
Oracle |
MDDATA |
MDDATA |
The schema used by |
Oracle |
MDSYS |
MDSYS |
The |
Oracle |
DMSYS |
DMSYS |
The |
Oracle Oracle |
OLAPSYS |
MANAGER |
The account used to create OLAP metadata structures. It owns the OLAP Catalog (CWMLite). |
Oracle |
ORDPLUGINS |
ORDPLUGINS |
The |
Oracle |
ORDSYS |
ORDSYS |
The |
Oracle |
OUTLN |
OUTLN |
The account that supports plan stability. Plan stability enables you to maintain the same execution plans for the same SQL statements. OUTLN acts as a role to centrally manage metadata associated with stored outlines. |
Oracle |
SI_INFORMTN_SCHEMA |
SI_INFORMTN_SCHEMA |
The account that stores the information views for the SQL/MM Still Image Standard |
Oracle |
SYS |
CHANGE_ON_INSTALL |
The account used to perform database administration tasks |
Oracle |
SYSMAN |
CHANGE_ON_INSTALL |
The account used to perform |
Oracle |
SYSTEM |
MANAGER |
Another account used to perform database administration tasks. |
评论暂时关闭