connect as sysdba
- From: "Ani" <call.anirban@xxxxxxxxx>
- Date: 20 Feb 2007 01:11:29 -0800
Hi,
I am unable to connect to the database as sysdba using DBI, however I
am able to when I use sqlplus.
Here are my results:
sqlplus abc/xyz -----> OK
using DBI abc/xyz -----> OK
sqlplus 'abc/xyz as sysdba' -----> OK
using DBI abc/xyz with ora_session_mode => ORA_SYSDBA -----> Not
connecting
All the above four scenarios are executed as the same unix user, and
that user belongs to the dba group.
I am using DBI and DBD::Oracle qw(:ora_session_mode)
and am also setting ORACLE_SID before connecting.
The error I am getting is:
Error returned:ORA-01031: insufficient privileges (DBD ERROR:
OCISessionBegin)
Went through this previous thread
http://groups.google.com/group/perl.dbi.users/browse_frm/thread/cf65d6f6b7ada22d/e155fb6cbc6bb49d?hl=en&lr=&ie=UTF-8&oe=UTF-8&rnum=1&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26selm%3D023301c32b45%25244eabb700%25248403010a%2540afd.dir.muenchen.de#e155fb6cbc6bb49d
but it is not working for me.
Any help is really appreciated.
Thanks,
Ani
.
- Follow-Ups:
- Re: connect as sysdba
- From: Ani
- Re: connect as sysdba
- Prev by Date: mysql "LIMIT ?"
- Next by Date: Re: mysql "LIMIT ?"
- Previous by thread: mysql "LIMIT ?"
- Next by thread: Re: connect as sysdba
- Index(es):
Relevant Pages
|
|