title: Django - migrate database from sqlite to mysql
body: <p>I am trying to migrate my sqlite database to mysql. I used dumdata/loaddata commands:</p>
  
  <pre><code>python manage.py dumpdata &gt; datadump.json
  </code></pre>
  
  <p>next changed my settings.py to</p>
  
  <pre><code># DATABASES = {
  #     'default': {
  #         'ENGINE': 'django.db.backends.sqlite3',
  #         'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
  #     }
  # }
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.mysql',
          'NAME': 'testowa',
          'USER': 'testowy',
          'PASSWORD': 'mypassword',
          'HOST': 'localhost',
          'PORT': '3306',
      }
  }
  </code></pre>
  
  <p>and run <code>python manage.py loaddata datadump.json</code></p>
  
  <p>I get an error:</p>
  
  <pre><code>django.db.utils.ProgrammingError: (1146, "Table 'testowa.constance_config' doesn't exist")
  </code></pre>
  
  <p>Any ideas? </p>