A complete database on MySQL with cli based on Python3 as a requirement for Data And Applications Course.
The database is based on a scenario for Competetive Programming Tournaments by colleges and more.
- Create user for port=5005 with full access granted
- Starting mysql -
mysql -h 127.0.0.1 -u root --port=5005 -p
- Loading the database -
source ./cpdb.sql
within mysql environment to use the database - Install dependencies -
pip install -r requirements.txt
- Run the program:
python3 Cache22.py
- Enter credentials of the user
- Once connected, enter the options given in menu to execute queries. Enjoy! :)