title: Connecting to MySQL from Django
body: <p>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...</p>
  
  <pre><code>D:\project\wogma&gt;manage.py syncdb
  Traceback (most recent call last):
    File "D:\project\wogma\manage.py", line 11, in &lt;module&gt;
      execute_manager(settings)
  
    File "C:\Python26\lib\site-packages\django\core\management\__init__.py", line
  340, in execute_manager
      utility.execute()
  
    File "C:\Python26\lib\site-packages\django\core\management\__init__.py", line
  295, in execute
      self.fetch_command(subcommand).run_from_argv(self.argv)
  
    File "C:\Python26\lib\site-packages\django\core\management\base.py", line 192,
   in run_from_argv
      self.execute(*args, **options.__dict__)
  
    File "C:\Python26\lib\site-packages\django\core\management\base.py", line 218,
   in execute
      self.validate()
  
    File "C:\Python26\lib\site-packages\django\core\management\base.py", line 246,
   in validate
      num_errors = get_validation_errors(s, app)
  
    File "C:\Python26\lib\site-packages\django\core\management\validation.py", lin
  e 65, in get_validation_errors
      connection.validation.validate_field(e, opts, f)
  
    File "C:\Python26\lib\site-packages\django\db\backends\mysql\validation.py", l
  ine 8, in validate_field
      db_version = connection.get_server_version()
  
    File "C:\Python26\lib\site-packages\django\db\backends\mysql\base.py", line 27
  7, in get_server_version
      self.cursor()
  
    File "C:\Python26\lib\site-packages\django\db\backends\__init__.py", line 56,
  in cursor
      cursor = self._cursor(settings)
  
    File "C:\Python26\lib\site-packages\django\db\backends\mysql\base.py", line 26
  2, in _cursor
      self.connection = Database.connect(**kwargs)
  
    File "C:\Python26\lib\site-packages\MySQLdb\__init__.py", line 81, in Connect
      return Connection(*args, **kwargs)
    File "C:\Python26\lib\site-packages\MySQLdb\connections.py", line 188, in __in
  it__
      super(Connection, self).__init__(*args, **kwargs2)
  
  _mysql_exceptions.OperationalError: (1049, "Unknown database 'd:/project/wogma/w
  ogma'")
  </code></pre>
  
  <p>i did the commands in mysql as follows..i already created the wogma database just using create database n i granted the priviliges..in mysql.
  whts the prb??</p>