direct (not DNS) database connection

Steve Holden sholden at holdenweb.com
Mon Jul 23 14:34:57 EDT 2001


"phillip" <phillip at transwitch.co.za> wrote in message
news:74cc9702.0107190115.18ce07aa at posting.google.com...
> Hi,
>
> I am able to connect to a database, but I must first create a data
> source name(DSN) in windows and the connect through the DSN.
>
> I would like to connect directly like : servername:port/databasename
>
> What module will enable me to do this ( connection pooling would be
> good as well)?
>
> currently I am using odbc for windows and dcoracle for linux.
>
Take a look at cx_Oracle on www.computronix.com (?): I believe that will
allow you to use the equivalent of Oracle connect strings, and I suspect ir
will run on both your platforms.

regards
 Steve
--
http://www.holdenweb.com/








More information about the Python-list mailing list