[DB-SIG] Duuuh? - cx_Oracle.DatabaseError: ORA-12560: TNS:protocol adapter error

Doug.Shawhan@gecits.ge.com Doug.Shawhan@gecits.ge.com
Tue, 31 Dec 2002 15:04:44 -0500


Howdy folks,

I am experimenting with cx_Oracle with Python 2.2.1 under NT5 attatching to
Oracle 8.0.

I am trying the following silly script to establish a connection:

------------------------------------------------------------------
import cx_Oracle  
DSN='''host=oraclehost.hostie.com,
		user=doofus,
		password=g00b3r
		database=SCHMEH''
conn = cx_Oracle.connect(DSN)
------------------------------------------------------------------

Which gives me:

------------------------------------------------------------------

cx_Oracle.DatabaseError: ORA-12560: TNS:protocol adapter error

------------------------------------------------------------------

I am reasonably sure that all parameters in my DSN string are correct. Can
anyone throw me a clue as to what a protocol adaper error is?

Thanks!

d