[mod_python] how to use Mysql on mod_python+apache?

Todd Esposito todd at toddesposito.com
Mon Mar 26 10:08:05 EST 2007

liecto wrote:
> I want to use Mysql ,mod_python,apache build a web .
> I have installed mod_python and apache,
> and how to setup mysql and how to use it?
If you have MySQL installed, you can use the "mysql-python" module just 
as you would in a stand-alone (non-mod_python) python application.  See 
http://sourceforge.net/projects/mysql-python or your distro's package 
management tool for the module.  MySQLdb follows the DBAPI 2 specs.

Hope this helps.

- Todd

More information about the Mod_python mailing list