Help: Using MyODBC with Python

Chris Liechti cliechti at gmx.net
Wed May 1 16:00:54 EDT 2002


Sabine Richter <sabine at textraeume.de> wrote in 
news:mailman.1020279542.4329.python-list at python.org:
> I downloaded and installed myODBC 3.51. As far as I understand, it is
> only the driver, which provides the connection to the database. In my
> example, it is MySQL 3.23.49.
> The manual says that in my application I have to allocate the
> environment handle, set the version, allocate the connection handle,
> conect to the server etc.. But don't I have to have a library / module
> which provides functions which I can use to do all that? But where is
> it? Or do I have to write all that by myself? I don't know where to
> begin.  

i only used mysql-python (http://sourceforge.net/projects/mysql-python) 
which does not need the ODBC layer. if you want to use ODBC, people seem to 
be happy with "mxODBC" (not used it myself, serach on google for it)

chris

-- 
Chris <cliechti at gmx.net>




More information about the Python-list mailing list