title: Configuring Django in local dev environment to work with imported MySQL database
body: <p>I usually use SQLite but this project requires me to use data from a server so instead of trying to convert the data from SQLite to MySQL, I imported the data into my local MySQL database. I am trying to figure out how to configure my Django project to work with the imported database. Right now the models.py file is empty. </p>
  
  <p>So I have three questions:</p>
  
  <ol>
  <li><p>Is my settings.py (below) set up correctly?</p></li>
  <li><p>Do I need to set up the models to match the schema in the imported
      database?</p></li>
  <li>Do I need to do anything else?</li>
  </ol>
  
  <p>This is what I'm working with:</p>
  
  <ul>
  <li>Django 1.8.4 </li>
  <li>Python 2.7 </li>
  <li>mysql 5.7.14 </li>
  <li>osx 10.11</li>
  </ul>
  
  <p>settings.py </p>
  
  <pre><code>import os
  
  BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
  
  """..."""
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.mysql',
          'NAME': 'extract',
          'USER': 'root',
          'PASSWORD': 'xxxxxxxxxx',
          'HOST': 'localhost',
          'PORT': '22',
      }
  }
  """ ... """
  </code></pre>