Can't connect to Oracle DB via DCOracle2 as sysdba

Cihal Josef josef.cihal at siemens.com
Fri Jun 30 08:30:21 EDT 2006


Hi,
 
how can I connect please to DB Oracle9i
via DCOracle.Connect as SYSDBA?
 
>>> dbc = DCOracle2.connect(user='<user>', password= '<password> as
sysdba' )
u,p2:  sys,'p
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "C:\Program Files\Python21\lib\DCOracle2\DCOracle2\DCOracle2.py",
line 18
6, in connect
    #print "Created new DCO2 connection %s" % conn
dco2.DatabaseError: (1017, 'ORA-01017: invalid username/password; logon
denied')

 
How can I connect via DCOracle2 in Python to Database?
as usually mit sqlplus in command line:
 
sqlplus "<user>/<password> as sysdba"
 
 
Thanks for every idea!
 
Josef 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20060630/d7ceac41/attachment.html>


More information about the Python-list mailing list