摘要: 一、系统的默认用户 1)sys用户是超级用户,具有最高权限,具有sysdba角色,有create database的权限,该用户默认的密码是sys。登录语句:SQL> conn sys/sys as sysdba; 2)system用户是管理操作员,权限也很大。具有sysoper角色,没有create database的权限,默认的密码是manager。登录语句:SQL> conn system/manager; 3)sys和system这两个用户最大的区别是在于有没有create database的权限。 4)scott用户是普通用户,密码默认为tiger,默认未解锁 解锁语句. 阅读全文
posted @ 2011-10-30 15:47 蛊惑Into 阅读(414) 评论(0) 推荐(0) 编辑
摘要: 一、系统的默认用户 sys;//系统管理员,拥有最高权限 system;//本地管理员,次高权限 scott;//普通用户,密码默认为tiger,默认未解锁 二、登陆 sqlplus conn / as sysdba;//登陆sys帐户 sqlplus sys as sysdba;//同上 sqlplus scott/tiger;//登陆普通用户scott 三、管理用户 create user zhangsan;//在管理员帐户下,创建用户zhangsan alert user scott identified by tiger;//修改密码 四、授予权限 ... 阅读全文
posted @ 2011-10-30 13:14 蛊惑Into 阅读(196) 评论(0) 推荐(0) 编辑
摘要: ORA-01950: 对表空间 'USERS' 无权限 解决方法以sys用户登陆数据库,执行以下语句:alter user 数据库用户名 quota unlimited on USERS; 阅读全文
posted @ 2011-10-30 13:12 蛊惑Into 阅读(3555) 评论(0) 推荐(0) 编辑
摘要: 问题:在用PL/SQL进行登录时,出现:”ora-01045 :user system lacks create session privilege; logon denied”。原因:没有权限在Google找到这段的说明:What does “ORA-01045: user USERNAME lacks CREATE SESSION privilege;logon denied” mean?It means that the username and password with which you tried to login are known and accepted by the or 阅读全文
posted @ 2011-10-30 11:27 蛊惑Into 阅读(24089) 评论(0) 推荐(0) 编辑