[转帖]ORA-01035: only available to users with RESTRICTED SESSION privilege_MySQL, Oracle及数据库讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  MySQL, Oracle及数据库讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 4728 | 回复: 0   主题: [转帖]ORA-01035: only available to users with RESTRICTED SESSION privilege        下一篇 
匿名用户
发表于: IP:您无权察看 2011-11-8 15:14:11 | [全部帖] [楼主帖] 楼主

    以下情况下,可能需要STARTUP RESTRICT,这样只有一定权限(CREATE SESSION and RESTRICTED SESSION)的用户可以登陆数据库

1 Perform an export or import of database data
2 Perform a data load (with SQL*Loader)
3 Temporarily prevent typical users from using data
4 During certain migration and upgrade operations
SQL> startup restrict


ORACLE 例程已经启动。

Total System Global Area  160504432 bytes
Fixed Size                   453232 bytes
Variable Size             134217728 bytes
Database Buffers           25165824 bytes
Redo Buffers                 667648 bytes


数据库装载完毕。
数据库已经打开。

SQL> select * from v$version;
BANNER
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
PL/SQL Release 9.2.0.1.0 - Production
CORE    9.2.0.1.0       Production
TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
NLSRTL Version 9.2.0.1.0 - Production
SQL> conn hr/hr
ERROR:
ORA-01035: ORACLE only available to users with RESTRICTED SESSION privilege


警告: 您不再连接到 ORACLE。

SQL> conn test/test
ERROR:
ORA-01035: ORACLE only available to users with RESTRICTED SESSION privilege


警告: 您不再连接到 ORACLE。

SQL> conn system/maxin as sysdba


已连接。

SQL> alter system disable restricted session;


系统已更改。

SQL> conn test/test


已连接。



赞(0)    操作        顶端 
总帖数
1
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论