scott/tiger 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不能登陆。

在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)conn sys/sys as sysdba; //以DBA的身份登录 
(2)alter user scott account unlock;// 然后解锁 
(3)conn scott/tiger //弹出一个修改密码的对话框,修改一下密码就可以了

目录
相关文章
|
5月前
|
SQL 数据库 数据安全/隐私保护
ORA-28000 the account is locked的解决办法
ORA-28000 the account is locked的解决办法
|
SQL Oracle 关系型数据库
oracle学习51-select t.*,t.rowid
oracle学习51-select t.*,t.rowid
158 0
|
SQL Oracle 关系型数据库
ORA-28000: the account is locked-的解决办法
ORA-28000: the account is locked-的解决办法
979 0
|
SQL 关系型数据库
get_locked_objects_rpt.sql
在metalink上看到一个脚本(get_locked_objects_rpt.sql),非常不错,如下所示 /*----------------------------------------------------------------------------+ | MODULE: get_locked_objects_rpt.
873 0
|
关系型数据库 数据库 数据库管理