Apache cannot find mysql database modules

Posted by user809857 on Pro Webmasters See other posts from Pro Webmasters or by user809857
Published on 2011-06-22T07:24:57Z Indexed on 2011/11/20 10:25 UTC
Read the original article Hit count: 442

Filed under:
|
|
|

I've created a simple django project and setup a mysql database. My simple project just creates an entry on the database. The project works fine when I use the built in development server provided by django (runserver) and it works well.

But when I deployed the project on Apache and mod_Wsgi (Ubuntu server), django could not find 'books', which is in this case my table in the database. The mysql database that I use in runserver and apache are just the same. I also did rebuild the database using sqlall,validate and syncdb of django but still i get the error.

What could be wrong with what I'm doing?

Thanks

© Pro Webmasters or respective owner

Related posts about mysql

Related posts about django