title: (2013, 'Lost connection to MySQL server during query') django
body: <p>I got thid error:</p>
  
  <pre><code>(2013, 'Lost connection to MySQL server during query')
  </code></pre>
  
  <p>I have read that I can increase database timeout.
  What do I do?
  <strong>Settings.py:</strong></p>
  
  <pre><code>DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.mysql',
          'NAME': 'c9',
          'USER': ddd,
          'PASSWORD': '',
          'HOST': ddd,
          'PORT': '3306',
          'ATOMIC_REQUESTS': True
      },
       'OPTIONS': {
          'timeout': 99999999,
          'net_read_timeout': 9999999
      }
  </code></pre>