1、打开cmd命令窗口,使用system用户登陆
2、解锁scott用户
alter user scott account unlock;
3、为scott用户设置密码为tiger
alter user scott identified by tiger;
4、scott用户登陆
conn scott/tiger
5、注意
语句后面的分号一定要加上,否则语句执行不生效;
alter user scott account unlock;
alter user scott identified by tiger;
conn scott/tiger
语句后面的分号一定要加上,否则语句执行不生效;