启用oracle scott账号

默认的scott用户是被锁定的,先解锁就能登陆上了。



使用下面的语句解锁scott:
Java代码 复制代码
  1. alter user scott account unlock;  

解锁之后可能会要求你该密码:
Java代码 复制代码
  1. alter user scott identified by tiger;  




再登陆:
Java代码 复制代码
  1. sqlplus scott/tiger  

就能登陆了



用命令行启用帐户 先解锁后 一定要设密码 不然还是无法登陆
最后要进行提交。

posted on 2010-11-26 19:26  ewyb  阅读(577)  评论(0编辑  收藏  举报

导航