ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 在windows上以sysdba登陆oracle

在windows上以sysdba登陆oracle

原创 Linux操作系统 作者:Jujay 时间:2011-10-27 10:39:27 0 删除 编辑
有时候在windows系统上想直接用系统认证以sysdba登陆数据库,会出现以下错误:
ORA-01031:insufficient privileges
原因如下:
SQLNET.AUTHENTICATION_SERVICES allows Windows users to be authenticated using Windows NT native security. What this means is that by setting SQLNET.AUTHENTICATION_SERVICES to NTS:

SQLNET.AUTHENTICATION_SERVICES= (NTS)

Creating a role called ORA_DBA, with your user in that group, you should be able to log in to oracle without supplying a password. (connect / as sysdba)
也就是说:
1. 保证在sqlnet.ora里有以下配置:
SQLNET.AUTHENTICATION_SERVICES= (NTS)
2. 保证你的Windows用户属于ORA_DBA组。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26277071/viewspace-709768/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2011-09-14

  • 博文量
    93
  • 访问量
    291022