On May 8, 2008, at 7:39 AM, Boodlooder wrote:

>
> I'm logged in as root, trying to execute:
>
> python mange.py syncdb
>
> the command is returning:
>
...
>    super(Connection, self).__init__(*args, **kwargs2)
> _mysql_exceptions.OperationalError: (1049, "Unknown database
> 'reinhardt'")
>
> When I check MySQL for the db, I only have the default MySQL db's.  I
> am new to python, but have extensive programming experience.

syncdb does not create the database for you, except with SQLite.

In MySQL you need to create the DB, and possibly assign it a username  
and password with a GRANT ALL command.

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to