On 13 ?.?. 2010, at 10:19, Everett wrote:

> 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:
<snip>

The most useful error message will be the last entry in the traceback rather 
than the start of it. Please provide that message and we may have more to go on.

> 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.

If there are no DB settings then obviously Django doesn't try to talk to the 
DB, so yes that does suggest the problem is in the Django-DB interaction.

<snip>
> Any ideas?

The first idea that pops into my head is that you may not have Python's MySQL 
bindings installed (per 
http://docs.djangoproject.com/en/dev/topics/install/#get-your-database-running),
 which is available at http://sourceforge.net/projects/mysql-python/ 

If do already have that package installed then we'll just have to see the most 
recent call that threw an exception...

Best wishes,
Jonathan

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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