有关Oracle用户解锁的方法有很多,小编在这里整理了些常用的Oracle用户解锁的SQL语句,在这里拿出来和大家分享一下。
连接sys/system用户
- connect sys/change_on_install as sysdba
–用户scott解锁
- SQL> alter user scott account unlock;
- 用户已更改。
–用户scott加锁
- SQL> alter user scott account lock;
- 用户已更改。
–更改密码为orcl
- SQL> alter user scott identified by orcl;
- 用户已更改。
–用connect/conn连接用户
- SQL> connect scott/orcl;
- 已连接。
以上只是Oracle用户解锁的一般常用方法,要想了解的更多请留意网站上的相关论坛。
文章来源网络,作者:运维,如若转载,请注明出处:https://shuyeidc.com/wp/254304.html<

