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