David Geller
dg at sponsera.com
Thu Jan 8 15:54:56 EST 2004
1. As far as I know, I am not running any other apache modules using MySQL ( I am not sure how to check this out definitely, but I cannot seem to find any references anywhere to such modules....) 2. Yes, I built mysql,mod_python, python, MySQL, apache,.... from source. Also, everything (my entire mod_python application, including all mysql accessing), seems to run *fine* on my home machine (redhat8-based). It is when I have tried running on our redhat-9-based server where these problems start to appear....(note that I reuilt all the sources on the redhat9 machine...) Paul Querna wrote: > Are you running mod_auth_mysql or any other apache modules that use > MySQL Client Connections? > > Make sure they are all compiled with the exact same client lib versions.. > > Also, did you build from source, or are you using someones RPMs? > > -Paul Querna > > David Geller wrote: > >> Help! >> >> I have the weirdest problem - I am using the following: >> >> redhat9 >> mysql 4.0.13 >> mod_python 3.0.4 >> python 2.2.3 >> MySQL-python 0.9.2 (python interface to the mysql libraries) >> apache 2.0.47 >> >> When I run ordinary python programs to access the mysql database, >> things seem to work fine. (i can connect to the database, so selects, >> updates, etc) >> >> When I run identical queries under mod_python via request to apache, >> apache tends to core dump on database accesses - or sometimes, >> doesn't core dump but I get very strange,inconsistant results. >> >> Any ideas? Are "threads" an issue? I am almost positive the python >> enviornment that apache is getting is the same as the "normal" >> environment. >> >> I just have no idea why this is happening - I have used mod_python w/ >> mysql before, with generally very good results. >> >> Thanks a lot! >> >> David >> >> >> >> >> >> _______________________________________________ >> Mod_python mailing list >> Mod_python at modpython.org >> http://mailman.modpython.org/mailman/listinfo/mod_python > > > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python > > -- David Geller Sponsera, LLC dg at sponsera.com www.sponsera.com Phone: 703.532.6812 Fax: 703.532.6058
|