How to config Django using pymysql as driver?
<p>I'm new to Django. It wasted me whole afternoon to config the MySQL engine. I am very confused about the database engine and the database driver. Is the <strong>engine</strong> also the <strong>driver</strong>?  All the tutorial said that the ENGINE should be 'django.db.backends.mysql', but how the ENGINE decide which driver is used to connect MySQL? </p>

<p>Every time it says 'django.db.backends.mysql', sadly I can't install MySQLDb and mysqlclient, but PyMysql and the official <em>mysql connector 2.1.3</em> has been installed. How could I set the driver to PyMysql or mysql connector?</p>

<p>Many thanks!</p>

<ul>
<li>OS: OS X Al Capitan</li>
<li>Python: 3.5</li>
<li>Django: 1.9</li>
</ul>

<p>This question is not yet solved:
Is the <strong>ENGINE</strong> also the <strong>DRIVER</strong>? </p>