This repository is for python mysql connector training.
mysql.connector
Download and install MySQL Connector:
$ cd ~/tools
$ wget https://dev.mysql.com/get/Downloads/Connector-Python/mysql-connector-python-8.0.22.tar.gz
$ tar xzf mysql-connector-python-8.0.22.tar.gz
$ cd ~/tools/mysql-connector-python-8.0.22
$ sudo python3 setup.py install
Sign up an account at freemysqlhosting.net
Download the sql script file from:
$ wget https://github.com/myems/myems-database/blob/master/myems_system_db.sql
Replace 'myems_system_db' with your own database name in the script.
Connect to the server at freemysqlhosting.net
Run the sql script
Modify the config.py with your own account at freemysqlhosting.net.
Coding
Submit pull request
[1]. https://www.freemysqlhosting.net/