On 10 Jun 2006, at 10:02, PythonistL wrote:

> ImproperlyConfigured: Could not load database backend: No module named
> _mysql. Is your DATABASE_ENGINE setting (currently, 'mysql') spelled
> correctly? Available options are: 'ado_mssql', 'mysql', 'postgresql',
> 'sqlite3'
>
>
> but from Python shell it works OK.

Are you sure mod_python and the python shell you are running are  
using the same version of Python? It's possible that one of them is  
using Python 2.2 and the other Python 2.3 (for example), in which  
case they wouldn't be sharing the same site-packages directories.

Cheers,

Simon

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to