MySQLdb problem with mod_python, please help

ws Wang wenshengwang at gmail.com
Tue Nov 30 21:40:42 CET 2004


Damjan <gdamjan at gmail.com> wrote in message news:<313b0qF36dhk7U1 at uni-berlin.de>...
> > MySQLdb is working fine at command line, however when I tried to use
> > it with mod_python, it give me a "server not initialized" error.
> 
> Maybe its this problem?
> http://www.modpython.org/FAQ/faqw.py?req=show&file=faq02.013.htp

yep! that's the culprit. 

I havent' recompile php, but by removing loadmodule php, mod_python+mysql worked.

Thank you very much Damjan.



More information about the Python-list mailing list