DBMS for Lonely Planet's Top 500 Ultimate Travel Destinations
By Brittany Chiang (bchiang7) & Isabel Tripp (tahitihat)
Step 1: Prerequisites
(unfortunately mysql-connector is not backwards compatible with 3.6)
Step 2: Required Python Modules
pip install flask
pip install pymysql
pip install mysql-connector
Step 3: Import the schema
Download the project SQL file and open it in MySQL Workbench. Execute the file and ensure
top500Info database has been created.
Step 4: Import Database Dump
Download the database dump SQL file and import the data from the self-contained file in MySQL Workbench via the Server menu dropdown.
Server > Data Import
Make sure that the Default Target Schema is
Once the import has completed, the tables in
top500Info should contain tuples.
Note: Database dump file contains stored procedures as well as the create schema and data.
Step 5: Running the project
Once you have cloned this repository and navigated to the directory in your terminal, simply run
Enter your MySQL username and password, and then navigate to
localhost:5000 in your browser.