Oracle 用户的解锁方法

连接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;
已连接。

原创:居思安

posted @ 2010-04-05 12:25  借我一生  阅读(448)  评论(0编辑  收藏  举报