Hello

I am trying to use Django with mySQL.  I have edited the settings.py
file in my project to point it towards the correct database but when I
try to use "manage.py syncdb" I get an error message that tells me
that there is no module named MySQLdb.  I tried to install mySQLdb by
installing MySQL-Python without success (when I try to run the MySQL-
Python's setup.py I get the following error message:

C:\...\MySQL-python-1.2.3>setup.py install
Traceback (most recent call last):
  File "C:\...\MySQL-python-1.2.3\setup.py"
, line 15, in <module>
    metadata, options = get_config()
  File "C:\...\MySQL-python-1.2.3\setup_win
dows.py", line 7, in get_config
    serverKey = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE,
options['registry_ke
y'])
WindowsError: [Error 2] The system cannot find the file specified


The readme file for MySQL-Python suggests that my problem is that I am
running windowsXP, but I don't know how to circumvent whatever
problems this is causing.

Does anyone know another way to get the module I need to let python
and the mySQL database talk?

Does anyone know what I am doing wrong with the MySQL-Python
installation?

I have no idea what I am doing (yet), so if you have any suggestions,
even obvious ones that only a dummy would appreciate,  please let me
know.

Thanks in advance

Phage



-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to