Monday, January 31, 2011

Re: django and mysql connection problem

On Mon, Jan 31, 2011 at 2:45 PM, cuteangel <> wrote:
> its my first project with django..i already tried the connection with
> sqlite.but now m using django's connection with mysql n m getting
> following error...
> ....
> _mysql_exceptions.OperationalError: (1049, "Unknown database 'd:/
> project/wogma/w
> ogma'")
> i did the commands in mysql as follows..i already created the wogma
> database just using create database n i granted the
> mysql. whts the prb??

You are specifying the DB name incorrectly for the mysql driver. It
should just be the name of the database as created in mysql, not the
path to some file/folder.



You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment