The following assumes you are running Ubuntu Linux.
Note: all of these commands require sudo.
apt-get update apt-get install mysql-server mysql-client
Note: You will be prompted to create a password for the database "root" account during the installation. REMEMBER IT!
apt-get update apt-get install python-mysql apt-get install python3-mysql
See the Following: