先查询一下目前数据库是否有scott用户select username,account_status from dba_users where username like '%SCOTT%';如果是锁定状态那么解锁和设置密码tigeralter user scott account unlock identified by tiger;这样就可以使用了。