Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Log in to ORACLE through operating system authentication at windows

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Log in to ORACLE through operating system authentication at windows

2010-1-14

Under windows 2008, try to log in to oracle and report an error:

C:\ Users\ oracle > sqlplus / nolog

SQL*Plus: Release 11.1.0.6.0-Production on Wed Jan 13 17:42:49 2010

Copyright (c) 1982, 2007, Oracle. All rights reserved.

SQL > conn / as sysdba

ERROR:

ORA-01031: insufficient privileges

Obviously is an ORACLE user, how can I say that I do not have permission? Is it possible that 2008 of Windows discriminates, and the competition between sqlserver and oracle databases extends to OS and DB?

Probably not.

Find an explanation on the ORACLE website:

When you install Oracle Database, a special Windows local group called ORA_DBA is created (if it does not already exist from an earlier Oracle Database installation), and your Windows username is automatically added to it. Members of local group ORA_DBA automatically receive the SYSDBA privilege.

I checked my environment and found that oracle users did not assign ora_dba group. It must be that there is no permission given to sysdba to pass the operating system authentication.

Modify permissions and log in again. The problem is solved:

C:\ Users\ oracle > sqlplus / as sysdba

SQL*Plus: Release 11.1.0.6.0-Production on Wed Jan 13 18:34:06 2010

Copyright (c) 1982, 2007, Oracle. All rights reserved.

Connected to:

Oracle Database 11g Release 11.1.0.6.0-64bit Production

I've been in UNIX for too long. I can't even use the simple operation of windows. I'm ashamed.

-END-

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report