Connecting to MySQL

Gerhard Häring gerhard.nospam at bigfoot.de
Tue May 15 20:22:39 EDT 2001


On Tue, 15 May 2001 20:03:54 +0100, Darren Watson wrote:
>Hi
>
>Can anyone give me any pointers about how to connect to MySQL on Windows
>using Python 2.1?
>
>I am fairly new to Python, [...]

Download the MySQLdb for Windows build from my homepage (see sig). There are
examples included. MySQLdb is just one implementation of the Python DB-API.

There is a short tutorial for the DB-API on the Python website. Go to
www.python.org, then documentation, then topic guides, then Databases. This
does assume, however, that you have a basic idea of how SQL works.

If you can't make much sense of it (i. e. if you are a Python beginner *and* a
SQL beginner), you can post here or subscribe to the DB-SIG's mailing list or
ask me in PM (remove the 'nospam') before.

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://highqualdev.com              public key at homepage
public key fingerprint: DEC1 1D02 5743 1159 CD20  A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))



More information about the Python-list mailing list