I am in the need of saving data into a MySQL database, my problem is I can\'t find the package...
Solution explored:
Oracle website: https://dev.mysql.c
You must install flask_mysqldb package in order to use MySQL
pip install flask_mysqldb
To use it:
from project import app
from flask_mysqldb import MySQL
Config MySQL:
app.config['MYSQL_HOST'] = 'localhost'
app.config['MYSQL_USER'] = 'root'
app.config['MYSQL_PASSWORD'] = 'yourpassword'
app.config['MYSQL_DB'] = 'mydbfile'
app.config['MYSQL_CURSORCLASS'] = 'MyCursor'