I need a great resource for interacting with MySql (version 5.0.45) with Python2.6.
I’m using cherrypy, mako, the standard library, and nothing else.
The resources can be blogs, howtos, books (online of offline), whatever.
Additional information:
The python mysql module, MySQLdb, is compatible with Python DB-API 2.0 . See http://sourceforge.net/projects/mysql-python.
Python connectivity to DBs is accomplished (most of the times) through the DBI (Python Database API). The Python DBI has 2 versions and their documentation is the place for you to start: v.1 and v.2. You must check what version is supported by the MySQL connector and use the corresponding spec version.
For more details about Python and MySQL, you can find good articles on Using MySQL With Python and here is the article that walks you through most of the operations: Writing MySQL Scripts with Python DB-API
./alex