title: Unhandled exception in thread started python manage.py runserver
body: <p>Recently I installed Python 3.4.3 in my environment (Windows 8.1) and tried to deploy a simple Django server. When I runned the command <code>python manage.py runserver</code> but the following exceptions appeared:</p>
  
  <blockquote>
    <p>Unhandled exception in thread started by .wrapper at 0x031B5D68></p>
  </blockquote>
  
  <p>I believe this exception happened due some error or misconception when I tried to install <code>mysql-python</code>. I changed the <code>DATABASE</code> config in <code>settings.py</code> from "django.db.backends.mysql" to "django.db.backends.sqlite3" and runned pretty well. The configs that I tried are the following:</p>
  
  <pre><code># Defective configuration
  DATABASES = {
    'default': {
      'ENGINE': 'django.db.backends.mysql',
      'NAME': 'test',
      'USER': 'user',
      'PASSWORD': 'doideira',
      'HOST': '127.0.0.1',
      'PORT': '3306',
    } 
  }
  </code></pre>
  
  <p>But using SQLite works:</p>
  
  <pre><code># With SQLite 3 works
  DATABASES = {
    'default': {
      'ENGINE': 'django.db.backends.sqlite3',
       'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
    }
  }
  </code></pre>
  
  <p>I am experiencing some troubles and any advice would be appreciated. I would like to know why this is happening and how can I workaround it.</p>
  
  <p>Further info:</p>
  
  <ul>
  <li>Mysql version is 5.6.4</li>
  <li>Mysql Python version is 1.2.5</li>
  <li>Python version is 1.2.5</li>
  <li>Windows 8.1</li>
  <li>Django version is 1.8.1</li>
  </ul>
  
  <p>The full log error can be seen <a href="http://pastebin.com/9L79dCUA" rel="nofollow noreferrer">here</a>. </p>
  
  <p><strong>Update</strong> <em>Saturday 16, May 2015</em>:</p>
  
  <p>I came up with an simple solution: downgrade Python from 3.x to 2.7.x. I explain the steps below as <a href="https://stackoverflow.com/a/30280316/3147039">the answer of my question</a>. I also found <a href="https://stackoverflow.com/a/23376193/3147039">this answer</a> very useful, but now that I'm using Python 2.7 everything is ok.</p>
  
  <p>I also found this article that answers the question "<a href="https://wiki.python.org/moin/Python2orPython3" rel="nofollow noreferrer">Should I use Python 2 or Python 3 for my development activity</a>" and that was what made me to decide whether keep with Python3 or Python2. Since Python3 hasn't a strong library support, I will wait a little more until update it.</p>