Oracle账户被锁错误:the account is locked解决方法

来自:网络
时间:2024-03-31
阅读:
免费资源网 - https://freexyz.cn/

Oracle 账户被锁:the account is locked 解决方法

连接Oracle数据库时报错账户已锁定错误

Oracle账户被锁错误:the account is locked解决方法

解决方法一:命令行模式:

步骤一:

Win+R打开命令行输入:sqlplus
使用system或sys账户以管理员身份登录,口令即安装Oracle时输入的管理口令。

Oracle账户被锁错误:the account is locked解决方法

步骤二:

使用命令解锁用户
alter user scott acount unlock;

Oracle账户被锁错误:the account is locked解决方法

修改用户登录密码命令
alter user 用户 identified by 新密码
例如:alter user scott identified by tiger

解决方法二:

ORA-28000: the account is locked

第一步:使用PL/SQL,登录名为system,数据库名称不变,选择类型的时候把Normal修改为Sysdba;

第二步:选择myjob,查看users;

第三步:选择system,右击点击“编辑”;

第四步:修改密码,把“帐户被锁住”的勾去掉;

第五步:点击“应用”再点击“关闭”;

第六步:重新登录就可以通过验证了;

总结

免费资源网 - https://freexyz.cn/
返回顶部
顶部