oracle 中system用户被锁住了

longqiang814529010 2011-04-25 09:15:07
oracle 中system用户被锁住了,应当怎么办?
...全文
1938 23 打赏 收藏 转发到动态 举报
写回复
用AI写文章
23 条回复
切换为时间正序
请发表友善的回复…
发表回复
icebutter 2011-06-20
  • 打赏
  • 举报
回复
1楼就是正解了,使用SYS as sysdba 登录,解锁就可以了。

因为oracle中,sys用户权限比system用户高。
Deng_YC 2011-06-17
  • 打赏
  • 举报
回复
unlock
zhangzhiqianlove 2011-05-19
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 huangdh12 的回复:]
cmd>sqlplus/nolog
sql> conn / as sysdba
sql> alter user system account unlock;
[/Quote]
jdsu2775 2011-05-19
  • 打赏
  • 举报
回复
[Quote=引用 15 楼 monunt 的回复:]
sql>conn / as sysdba
tns:协议适配器错误
[/Quote]

顶上
yuyeyi 2011-05-19
  • 打赏
  • 举报
回复
都是正解!!
longqiang814529010 2011-05-17
  • 打赏
  • 举报
回复
运行管理类报表
monunt 2011-05-12
  • 打赏
  • 举报
回复
sql>conn / as sysdba
tns:协议适配器错误
mingchaoyan 2011-05-12
  • 打赏
  • 举报
回复
sys 和 system 可以互相解锁
delphisanding1 2011-05-12
  • 打赏
  • 举报
回复
用管理员SYS来解锁
simple1986_2008 2011-04-28
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 huangdh12 的回复:]
cmd>sqlplus/nolog
sql> conn / as sysdba
sql> alter user system account unlock;
[/Quote]

正解
xiaoyaobihai 2011-04-26
  • 打赏
  • 举报
回复
[Quote=引用 6 楼 zty598416146 的回复:]
引用 5 楼 fangxiaoke 的回复:

conn sys as sysdba;
alter user system account unlock;

+1
[/Quote]
+1
yuyeyi 2011-04-26
  • 打赏
  • 举报
回复
2楼哪抄的。。
直接alter user system account unlock就可以了嘛。。
longqiang814529010 2011-04-26
  • 打赏
  • 举报
回复
thank you!谢谢
jumpheightway 2011-04-26
  • 打赏
  • 举报
回复
dba解锁 其他办法似乎不行
huangdh12 2011-04-25
  • 打赏
  • 举报
回复
cmd>sqlplus/nolog
sql> conn / as sysdba
sql> alter user system account unlock;
秋雨飘落 2011-04-25
  • 打赏
  • 举报
回复
ORA-28000: ORACLE账户锁定的解决办法2010-05-01 19:59ORA-28000: ORACLE账户锁定的解决办法


ORA-28000: 账户锁定
第一步:使用PL/SQL,登录名为system,数据库名称不变,选择类型的时候把Normal修改为Sysdba;
第二步:选择myjob,查看users;
第三步:选择system,右击点击“编辑”;
第四步:修改密码,把“帐户被锁住”的勾去掉;
第五步:点击“应用”再点击“关闭”;
第六步:重新登录就可以通过验证了;
第二种
ALTER USER username ACCOUNT UNLOCK;



第三种



在plsql developer中要是以scott/tiger登录时提示ora-28000 the account is locked。


解决办法:


新装完Oracle 10g后,用scott/tiger测试,会出现以下错误提示:
oracle10g the account is locked
oracle10g the password has expired
原因:默认Oracle10g的scott不能登陆。
解决:
(1)conn sys/sys as sysdba; //以DBA的身份登录
(2)alter user scott account unlock;// 然后解锁
(3)conn scott/tiger //弹出一个修改密码的对话框,修改一下密码就可以了


在运行里面输入cmd在DOS模式下输入sqlplus,以system用户名登录,密码是刚装oracle时自己填写的密码orcl,登录进去以后。


SQL> conn sys/sys as sysdba; (分号是必须的但是我是以system登录的所在这不应该写conn sys/sys as sysdba应该写conn system/orcl as sysdba;)
Connected.
SQL> alter user scott account unlock;
User altered.
SQL> commit;
Commit complete.
SQL> conn scott/tiger//请输入新密码,并确认后OK
Password changed
Connected.



这时再到plsql developer里面以scott/tiger登录就可以了。。。。。




Oracle 10g 默认安装带来的用户名/密码
Username
Password
Description
See Also


CTXSYS
CTXSYS
The Oracle Text account
Oracle Text Reference


DBSNMP
DBSNMP
The account used by the Management Agent component of Oracle Enterprise Manager to monitor and manage the database
Oracle Enterprise Manager Grid Control Installation and Basic Configuration


LBACSYS
LBACSYS
The Oracle Label Security administrator account
Oracle Label Security Administrator's Guide


MDDATA
MDDATA
The schema used by Oracle Spatial for storing Geocoder and router data
Oracle Spatial User's Guide and Reference


MDSYS
MDSYS
The Oracle Spatial and Oracle interMedia Locator administrator account
Oracle Spatial User's Guide and Reference


DMSYS
DMSYS
The Oracle Data Mining account.
Oracle Data Mining Administrator's Guide


Oracle Data Mining Concepts


OLAPSYS
MANAGER
The account used to create OLAP metadata structures. It owns the OLAP Catalog (CWMLite).
Oracle OLAP Application Developer's Guide


ORDPLUGINS
ORDPLUGINS
The Oracle interMedia user. Plug-ins supplied by Oracle and third party format plug-ins are installed in this schema.
Oracle interMedia User's Guide


ORDSYS
ORDSYS
The Oracle interMedia administrator account
Oracle interMedia User's Guide


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 Database Performance Tuning Guide


SI_INFORMTN_SCHEMA
SI_INFORMTN_SCHEMA
The account that stores the information views for the SQL/MM Still Image Standard
Oracle interMedia User's Guide


SYS
CHANGE_ON_INSTALL
The account used to perform database administration tasks
Oracle Database Administrator's Guide


SYSMAN
CHANGE_ON_INSTALL
The account used to perform Oracle Enterprise Manager database administration tasks. Note that SYS and SYSTEM can also perform these tasks.
Oracle Enterprise Manager Grid Control Installation and Basic Configuration


SYSTEM
MANAGER
Another account used to perform database administration tasks
yangqm22 2011-04-25
  • 打赏
  • 举报
回复
使用sys解锁不就可以了
asggadfgadfg 2011-04-25
  • 打赏
  • 举报
回复
conn sys/sys用户密码 as sysdba;---sys用户默认密码为:change_on_install
alter user system account unlock;
zty598416146 2011-04-25
  • 打赏
  • 举报
回复
[Quote=引用 5 楼 fangxiaoke 的回复:]

conn sys as sysdba;
alter user system account unlock;
[/Quote]
+1
fangxiaoke 2011-04-25
  • 打赏
  • 举报
回复
conn sys as sysdba;
alter user system account unlock;
加载更多回复(1)

17,377

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 基础和管理
社区管理员
  • 基础和管理社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧