Newbie: Using MySQL

Jordan Elver jord.elver at virgin.net
Sun Nov 11 01:55:59 CET 2001


Hi, First post to the list :-)
Could someone point me in the right direction for MySQL using Python 
tutorials etc. I've tried using the MySQLdb module (I think) and I cannot 
connect. I know that the server is running and that the passwords are correct?

db = MySQLdb.Connect(host=db_host, user=db_user, passwd=db_passwd, db=db_db)

Thanks for any help.

Jord
-- 
Jordan Elver
http://www.jordanelver.co.uk
"Only wimps use tape backup: _real_ men just upload their important stuff on 
ftp, and let the rest of the world mirror it ;)" --- Linus Torvalds




More information about the Python-list mailing list