oracle12没有scott用户
问题详情
在oracle11上是有scott用户的, 但是在oracle12及以上版本scott用户就被移除了, 只能自己新建一个scott用户
\
解决方法
1.创建c##scott用户
此处创建的用户为c##scott, 密码为tiger
create user c##scott identified by tiger\
2.给c##scott用户授权
grant connect,resource,unlimited tablespace to c##scott container=all;\
3.设置用户表空间
alter user c##scott default tablespace users;
alter user c##scott temporary tablespace temp;\
4.登录c##scott用户
connect c##scott/tige\
5.显示当前登录用户
show user;
最后更新于