Database adapters
Gerhard Häring
gh at ghaering.de
Mon Jul 12 16:56:42 EDT 2004
Ed Leafe wrote:
> I'm using Python for my database work, and need to be able to
> connect to various servers, such as MySQL, PostgreSQL, Firebird, and
> others. There are a number of adapters available for each of these, but
> I run into the same problem with all: I need to have that database
> server installed on the machine for which I need to build the adapter.
> Since my development work is done on a workstation and not a server,
> this causes a problem. [...]
That's not true. You have to have the include files and libraries installed.
> How do I accomplish this? How can I build, say, psycopg so that I
> can connect from my dev machine to a server that's on another host
> somewhere on the internet?
You'll need the PostgreSQL development files (on Debian: pgsql-devel)
installed. Plus, for psycopg, the mxDateTime header files.
-- Gerhard
More information about the Python-list
mailing list