【oracle报错】ORA-28000

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/debimeng/article/details/84036285

ORA-28000

数据库版本:11.2.0.4;系统版本:Oracle Linux 6.4

现象:
创建用户后,使用PL/SQL客户端登录报错

原因:
使用图形界面创建的用户,因使用的是类似创建用户,然后是根据已锁定的用户类似创建,创建完后的用户也是被锁定的。

解决:
–查看用户是否被锁

select username, account_status from dba_users where username = upper('username');

–解锁用户

alter user 用户名 account unlock;

注:为了预防万一,建议创建完用户后最好使用登录一下用户,看是否能用。

猜你喜欢

转载自blog.csdn.net/debimeng/article/details/84036285