[DB-SIG] SQLserver and mySQL examples for a newbie

Andy Dustman andy@dustman.net
27 Oct 2001 12:42:42 -0400


On Sat, 2001-10-27 at 11:07, M.-A. Lemburg wrote:
> ronny.de_winter@alcatel.be wrote:
> > 
> > Can somebody give me some small examples on how to connect to a
> > MS SQLServer / mySQL database and run a Query on it.

> BTW, the Win32 book on Python by Mark Hammond and Andy Dustman
> has a very good introduction on how to connect to databases.

I think you mean "have", not "has". I'm not co-author on that book...

In any case, there are examples in the MySQLdb docs. If you are using
fairly recent versions of MySQLdb and Python, you can use pydoc as well.

-- 
Andy Dustman         PGP: 0x930B8AB6
    @       .net     http://dustman.net/andy
You can have my keys when you pry them from my dead, cold neurons.