1、查证目前系统对于SCOTT用户的状态:

select * from dba_users where upper(username)='SCOTT';

ACCOUNT_STATUS:EXPIRED & LOCKED

 

2、解除对于SCOTT用户的锁定:

conn sys/bitservice@ttonline as sysdba;

alter user scott account unlock;

select * from dba_users where upper(username)='SCOTT';

ACCOUNT_STATUS:EXPIRED

 

3、连接SCOTT用户:

conn scott/tiger@ttonline;提示该用户已经过期,请重新输入新的密码:tiger

conn scott/tiger@ttonline;此次可以正常连接此用户。

 

4、查看SCOTT用户的状态:

conn sys/bitservice@ttonline as sysdba;

select * from dba_users where upper(username)='SCOTT';

ACCOUNT_STATUS:OPEN

相关文章:

  • 2019-07-03
  • 2022-12-23
  • 2021-04-30
  • 2021-09-15
  • 2022-12-23
  • 2022-12-23
  • 2021-09-13
  • 2022-12-23
猜你喜欢
  • 2021-10-05
  • 2021-08-10
  • 2022-12-23
  • 2022-12-23
  • 2021-05-07
  • 2022-03-03
  • 2022-12-23
相关资源
相似解决方案