TOAD与Oracle DB 12c


ORA-01031 When Connecting To A 12c Database With Toad (文档 ID 1958777.1)


SOLUTION

Access to SYS.USER$ has been restricted in Oracle 12c (as documented here)

The issue can be resolved by granting access to the SYS.USER$ table to the relevant account:

GRANT SELECT ON SYS.USER$ TO <user>;


For further assistance, please contact the software vendor as this is specific to Toad (not Oracle)

另注:这其实是Oracle 12c的一个特性:

(https://docs.oracle.com/database/121/DBSEG/release_changes.htm#DBSEG000)
SELECT ANY DICTIONARY Privilege No Longer Accesses Some SYS Data Dictionary Tables

For better security, the SELECT ANY DICTIONARY system privilege no longer permits you to query the SYS schema system tablesDEFAULT_PWD$ENC$LINK$USER$USER_HISTORY$CDB_LOCAL_ADMINAUTH$, and XS$VERIFIERS. Only user SYS has access to these tables, but user SYS can grant object privileges (such as GRANT SELECT ON USER$ TO sec_admin) to other users.



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值