title: Django PythonAnywhere (2003, "Can't connect to MySQL server (timed out)")
body: <p>I'm trying to setup a Django project and I can't seem to connect to MySQL database made in PythonAnywhere.</p>
  <pre><code>DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.mysql',
          'NAME': 'username$dbname',
          'USER': 'username',
          'PASSWORD': 'password',
          'HOST': 'username.mysql.pythonanywhere-services.com',
      }
  }
  </code></pre>
  <p>I cant enter the database in the PythonAnywhere Bash with my user, host, name and password, but when i try to do it in django it appears as follows:</p>
  <p><code>django.db.utils.OperationalError: (2003, &quot;Can't connect to MySQL server on 'username.mysql.pythonanywhere-services.com' (timed out)&quot;)</code></p>