Oracle数据库scott用户不能使用

jiangtianyin 2010-04-17 07:36:19
我现在使用的是Oracle 10g数据库,安装的时候启用并设置了scott用户的密码为tiger,以前安装完后都可以使用,但这次安装完后不知道为什么scott用户不能使用了

1、请问有什么办法可以使得scott用户能够使用,并设置其密码

2、如何新建一个用户


...全文
148 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
克力 2011-03-07
  • 打赏
  • 举报
回复
拿system登录进去之后,执行下面的命令:
SQL> alter user scott account unlock;
这样就完成解锁的操作。接下来,你还可以重新给scott这个用户设定密码
修改scott的登录密码
SQL> alter user scott identified by pan;
用户已更改
fangaiwen 2010-05-29
  • 打赏
  • 举报
回复
Learning
zswangg 2010-04-17
  • 打赏
  • 举报
回复
默认的scott用户是被锁定的,先解锁就能登陆上了。使用下面的语句解锁scott: alter user scott account unlock; 解锁之后可能会要求你该密码: alter user scott identified by tiger; 再登陆: sqlplus scott/tiger 就能登陆了

新建一个用户

create user your_user indentified by passwd
default tablespace users
temporary tablespace temp
quota 4M on users;

17,377

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 基础和管理
社区管理员
  • 基础和管理社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧