PDA

View Full Version : Python and MySql


kushboy
4-5-05, 03:37 AM
How can I connect to my Powweb MySql databases with Python? I've tried _Mysql.connect(...), but it says it "2013, 'Lost connection to MySQL server during query".

julian
4-30-05, 04:47 AM
Use the module MySQLdb. There are various examples on the web for using this module.
http://sourceforge.net/projects/mysql-python

Otherwise you can try SQLObject:
http://sqlobject.org/

Julian
http://julianyap.blogspot.com