打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Oracle 账号锁与解锁

Oracle 账号锁与解锁

oracle study 2010-07-17 22:01:26 阅读187 评论0   字号: 订阅

如何解除Oracle 账号锁定(the account is locked)
 
在plsql developer中要是以scott/tiger登录时提示ora-28000 the account is

locked。

解决办法:

新装完Oracle10g后,用scott/tiger测试,会出现以下错误提示:
        oracle10g the account is locked
        oracle10g the password has expired
原因:默认Oracle10g的scott不能登陆。
解决:

 

  1、使用oracle用户登录系统

  2、执行如下步骤:

  3、$ sqlplus /nolog

  4、SQL> connect /as sysdba
    Connected.

  5、SQL> alter user system account unlock;

    User altered.
解锁方法:
 alter user test account lock;

锁定账号方法

  1、SQL> alter user system account lock;

    User altered.

修改账号口令

  1、SQL> ALTER USER system IDENTIFIED BY sysPasswd;


在运行里面输入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;

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
Oracle用户expired
oracle11g用户登录时被锁定问题的解决方法 (ora
Oracle 18c新特性:Schema-Only 账号提升应用管理安全性
1.oracle登陆
ORA-12518: TNS:listener could not hand off client connection
After Test
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服