connect not possible to Oracle Datenbank as sysdba?

Gerhard Häring gh at ghaering.de
Mon Jul 3 04:22:28 EDT 2006


Cihal Josef wrote:
> Hi,
>  
> how can I connect to oracle database as SYSDBA
>  
> as usually: "sqlplus anc/psw as sysdba"
>  
> It is a parsing problem? (blanks,etc.?)
>  
> or it is not implmented in DCOracle2? [...]

 From a quick glance at the code, it does not seem like it is 
implemented in DCOracle2, which had its latest stable release as "1.3 
beta" at 2003-02-10 14:47:59.

You should consider switching to cx_Oracle, which is much better 
maintained and also allows you to connect as sysdba:

import cx_Oracle
con = cx_Oracle.connect("sys", "topsecret", "my_tns", cx_Oracle.SYSDBA)

HTH,

-- Gerhard



More information about the Python-list mailing list