以HR用户为例
第一步:
首先你需要查看用户状态
链接dba用户
sqlplus / as sysdba;
select username,account_status from dba_users order by username;
如果有hr,就执行解锁
第二步:执行解锁并修改密码
alter user hr account unlock
alter user hr identified by 123456;
SQL> conn hr/hr
2022-07-12 10:01:47
以HR用户为例
第一步:
首先你需要查看用户状态
链接dba用户
sqlplus / as sysdba;
select username,account_status from dba_users order by username;
如果有hr,就执行解锁
第二步:执行解锁并修改密码
alter user hr account unlock
alter user hr identified by 123456;
SQL> conn hr/hr