Python Flask - MySQL connection using SQLAlchemy

I have referenced a lot on Mike Driscoll's blog https://www.blog.pythonlibrary.org/ , Flask 101: Adding a Database Flask 101: How to Add a Search Form Flask 101: Adding, Editing and Displaying Recently, I had to install MySQL on Odroid XU4 SBC and connect it remotely. I really hate GUI programming. I love the cli interface. However, to provide a simple GUI interface for simple table lookup, modification,, I decided to create a web page using Flask. I will skip the content of installing MySQL. You will find numerous explanations for this on the Internet. I'm going to use SQLAlchemy, I thought it was nice that there is a ready-made extension for adding SQLAlchemy to Flask called Flask-SQLAlchemy . SQLAlchemy can link not only MySQL but also lightweight DB such as SQLite and RDBMS such as PostgreSQL. All the work below was done by Ubuntu 18.04 on Odroid XU-4. Prerequisites Several blogs have explained how to implement Flask. Python Flask - Running a simple web s...