Erik Scholtz, ArgonSoft GmbH wrote:
I think, the problem has to do with mod_perl, because when I run the script on the console, everything works fine. If I run the script without mod_perl (over the web with apache), the script also works without any problems. The script also works with mod_perl connecting to a mysql 4.0.x - version. Only connecting a 4.1.1-version of mysql produces the error above.

It is not a problem in general; I've got two webserver with the same script running mod_perl. On one, there is no problem, on the other the problem drives me mad.

It sounds like one of them has a newer DBD::mysql installed than the other. Check @INC to see what paths you are searching when you run the script under CGI and then compare that to the same thing from mod_perl.


- Perrin

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to