Menu

#1 / as sysdba

open
nobody
None
5
2010-02-15
2010-02-15
No

pysql doesn't support '/ as sysdba' connect string:
$ pysql '/ as sysdba'
Using config file /home/oracle/.pysql/pysqlrc

Connection failed:
ORA-01031-Cannot connect to Oracle: insufficient privileges

while sqlplus / as sysdba works fine:
$ sqlplus / as sysdba

SQL*Plus: Release 11.1.0.7.0 - Production on Mon Feb 15 14:01:09 2010

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

Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL>

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.