您的位置:首页 > 大数据 > 人工智能

ORA-01035: only available to users with RESTRICTED

2014-10-10 10:02 417 查看
以下情况下,可能需要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

已连接。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐