以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