oracle10g的scott用户无法登陆的解决办法,即ora-28000 the account is locked错误代码
2013-06-26 11:49
495 查看
解决办法:
新装完Oracle10g后,用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.
新装完Oracle10g后,用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.
相关文章推荐
- 【转】oracle10g的scott用户无法登陆的解决办法,即ora-28000 the account is locked错误代码
- 【转】oracle10g的scott用户无法登陆的解决办法,即ora-28000 the account is locked错误代码
- mysql增加新用户无法登陆解决方法 ERROR 1045 (28000): Access denied for user 'appadmin'@'localhost' (using password
- 还原数据库相关,孤立用户无法删除,又无法与新建的同名登陆挂钩的解决办法(转)
- windows下共享用户在服务端被禁用后,使用新用户无法登陆共享的解决办法
- mySQL 新添加的用户无法登陆的解决办法!
- OEM无法登陆原因与ORACLE用户密码过期和锁定的解决办法(附上系统用户默认密码)
- 解决PHP用户登陆后无法退出问题的办法
- ORA-01940: 无法删除当前连接的用户(解决办法)
- 在SQL*Pluse中以scott/tiger登录时提示ora-28000 the account is locked,解决办法
- oracle关于scott无法登陆,scott账号被锁定的解决办法
- 使用PLSQL Developer时,“ORA-12154: TNS:无法解析指定的连接标识符”问题的一个解决办法
- ORA-12518 TNS:监听程序无法分发客户机连接 解决办法
- 解决升级oracle10g中出现ora-01092错误的办法
- ORA-12500:TNS:监听程序无法启动专用服务器进程 解决办法
- win7 64位 tnsnames.ora 无法保存的解决办法
- ORA-28000: the account is locked-的解决办法
- Ubuntu15.1无法从普通用户切换到超级用户root解决办法
- scott账户登录不上,报错ORA-01017: invalid username/password; logon denied最佳解决办法