Tuesday, October 12, 2010

Database Setup

I'm running Django on Windows. When I edited the settings.py file for
the MySql database I'm running in an XAMPP package, the Django
development server throws a bunch of unhandled exceptions. It starts
out like this:

Unhandled exception in thread started by <function inner_run at
0x01F69E70>
Traceback (most recent call last):
File "D:\Python27\lib\site-packages\django\core\managment\base.py",
line 249 in validate

Is this because of how I'm running the MySQL database? Or the
information in the settings.py file is off? Cause when I take all the
database settings out of the settings.py file the development server
runs fine.

Database settings:

'ENGINE': 'django.db.backends.mysql',
'NAME': 'djangodb',
'USER': 'admin',
'PASSWORD': ' ',
'HOST': 'localhost',
'PORT': ' ',

Any ideas?

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate