Alain.Tesio at actfs.fr
Alain.Tesio at actfs.fr
Thu Jul 19 16:02:50 EST 2001
Hi, it works for me on Linux Debian with Python 2.1, MySQLdb and mod_python installed from source. If it works when starting python from a shell, it means that the there is something missing in the environment of the user running apache. Maybe try one of these commands to add this before "import MySQLdb" : sys.path.append("/path/where/is/mysqldb") os.environ["LD_LIBRARY_PATH"]="/path/to/the/shared/object" Alain ______________________________________________________________________________ The views and opinions expressed in this email message are the sender's and do not necessarily represent the views and opinions of ACT Financial Systems S.A. ______________________________________________________________________________
|