Hi,

I've installed django on an XP box and am trying to work through the
tutorial.

I got django from svn using the url from the django site:

http://code.djangoproject.com/svn/django/trunk

All is well until I try to do syncdb, at which point I get an error
message:

Error loading MySQLdb module: DLL load failed: The specified module
could not be found

I get the same if I try to import the module from the python prompt,
as well.

MySQLdb is installed at: C:\Python26\Lib\site-packages\MySQLdb

settings.py says:

DATABASE_ENGINE = 'mysql'           # 'postgresql_psycopg2',
'postgresql', 'mysql', 'sqlite3' or 'oracle'.
DATABASE_NAME = 'mysite'             # Or path to database file if
using sqlite3.
DATABASE_USER = 'django'             # Not used with sqlite3.
DATABASE_PASSWORD = '...'         # Not used with sqlite3.
DATABASE_HOST = ''             # Set to empty string for localhost.
Not used with sqlite3.
DATABASE_PORT = ''             # Set to empty string for default. Not
used with sqlite3.

The Windows path environment variable includes;

... C:\Program Files\MySQL\MySQL Server 5.1\bin;C:\Python26;C:
\Python26\Lib\site-packages;C:\Python26\Lib\site-packages\django\bin;C:
\Python26\Lib\site-packages\MySQLdb

I've googled, and searched the archives here, but haven't found a
solution (although I have found others with similar problems)

If this would be better on another list, please let me know which one
and I'll post there.  I wasn't sure if I should post here or on a more
general python list.

Cheers


Peter

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to