title: Connect Django to Google Cloud SQL
body: <p>I'm trying to connect Django to the Google cloud SQL, working with python 2.7 and django 1.5 under windows. I went through the instructions on this page: <a href="https://developers.google.com/appengine/docs/python/cloud-sql/django" rel="nofollow">https://developers.google.com/appengine/docs/python/cloud-sql/django</a></p>
  
  <p>My settings.py file has basic database settings of the form:</p>
  
  <pre><code>DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.mysql',
          'INSTANCE': 'my_project:instance1',
          'NAME': 'my_database',
      }
  }
  </code></pre>
  
  <p>With of course a proper could SQL instance and a database created through the SQL prompt of the google apis console</p>
  
  <p>When I try to run <code>manage.py syncdb</code> for the first time in order to obtain an OAuth2 token, I get this:</p>
  
  <blockquote>
    <p>OperationalError: (2003, "Can't connect to MySQL server on 'localhost'
    (10061)")</p>
  </blockquote>
  
  <p>Before you ask, I did make sure that both the django and google packages are in my PYTHONPATH, as well as "C:\Program Files (x86)\Google\google_appengine\lib\django-1.5"</p>
  
  <p>Any help would be really welcome!</p>