为oracle自带的scott用户解锁

来源:互联网 发布:淘宝发件人在哪设置 编辑:程序博客网 时间:2024/05/02 01:42

在sqlplus或者plsql developer中,用sys用户以sysdba身份连接数据库,然后执行以下语句:

1、解锁

alter user scott account unlock ;

2、修改密码

alter user scott identified by “自己设置的新密码“;

通过以上两步就可以使用scott用户了。

0 0