Oracle数据库错误:java.sql.SQLException: ORA-28000: the account is locked

在运行项目中,连接 Oracle 数据库用户时,提示:

java.sql.SQLException: ORA-28000: the account is locked

很明显,是因为数据库用户被锁导致的,需要通过数据库管理员账号对该用户解锁才行,解锁命令如下:

select * from dba_profiles where resource_name like ‘FAILED_LOGIN_ATTEMPTS%’;

alter profile default limit FAILED_LOGIN_ATTEMPTS unlimited;

select * from dba_profiles where resource_name like ‘FAILED_LOGIN_ATTEMPTS%’;

alter user scott account unlock;

此条目发表在 Oracle 分类目录,贴了 , , , 标签。将 固定链接 加入收藏夹。

Oracle数据库错误:java.sql.SQLException: ORA-28000: the account is locked》有0条回应

  1. 没有找到评论。

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注