I suggest you install MySQL Connector Python because it is official Oracle driver for MySQL for working with Python and it works with both Python 3 and Python 2.
You can install connector using pip or you can download DEB Package for MySQL Connector Python and install it.
Use this link to install and verify the installation Install MySQL connector Python
To verify installation you can import mysql.connector and check if the program gives an error if not your installation is complete.
follow this article to connect to MySQL from python and execute database queries.Python MySQL connection
You can install connector using pip or you can download DEB Package for MySQL Connector Python and install it.
Use this link to install and verify the installation Install MySQL connector Python
To verify installation you can import mysql.connector and check if the program gives an error if not your installation is complete.
follow this article to connect to MySQL from python and execute database queries.Python MySQL connection