[egenix-users] How to connect to a remote oracle/sybase?

Tim Terlegård tim at se.linux.org
Tue May 25 12:01:43 CEST 2004


I want to connect to remote servers running oracle and sybase. I
downloaded mxODBC, but is this the right package for this task?

First I tried several different connectionstrings with
ODBC.Windows.DriverConnect(), but I suspect that's just for connecting
to existing data sources on local computer? I'd like to connect to
remote databases without having the data sources specified.

According to DB-API there is a connect() method that takes host and
database name as arguments, that's promising. But on what module can I
use this method? I tried ODBC.Windows.connect(), but that doesn't work.
I then thought I should get a sybase subpackage, but the website says
it's only for unix and I use Windows.

So how should I go about this? I thought python was easy... ;)

Thanks, Tim



More information about the egenix-users mailing list