先查询一下目前数据库是否有scott用户

select username,account_status from dba_users where username like '%SCOTT%';

如果是锁定状态那么解锁和设置密码tiger

alter user scott account unlock identified by tiger;

这样就可以使用了。

05-11 14:01