Status: ✔️
Note: Learn how to install, setup and configure the latest version of mysql-server in Linux here
- To begin, install the packages in
requirements.txt
using theapt
package installer. - The application is configured with default mysql server credentials.
username="root"
password=""
db_name="mysql"
- To enable custom configuration, open
app.py
in your editor and change the entry values:
....
# Connect to MySQL database
db = mysql.connector.connect(
host="localhost",
user="root",
password="",
database="mysql"
)
....
- Run
app.py
sudo python3 app.py
- Open http://localhost:5000 in your browser.