Skip to content

An interactive Database Management System made for a real-word simulation of a Hotel Enterprise

Notifications You must be signed in to change notification settings

poojadesur/Hotel-DBMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Hotel-DBMS

An interactive dbms built to simulate a hotel's database requirements for staff and guests, built using pymysql.

A command line interface that accesses a mysql database named 'HOTEL_QUOKKA'.

In order to run the project, enter the 'newt' directory.

  • The contents of the Database HOTEL_QUOKKA are dumped and saved in newt.sql file with some test values in the tables. To start a mysql environment with that database run the command:
mysql -u <username> -p 
  • And then source the file inside the mysql environment by:
source newt.sql

This will create a database HOTEL_QUOKKA with all the tables and values and make it your current used database

  • Exit mysql environment and download the python file HotelQuokka.py. Run it as
python3 HotelQuokka.py

This will lead you to a CLI interface, where on entering your username and mysql password, you can begin to interact with the Database. Run any commands as presented to you. They have been divided into requirements of a guest and requirements related to the staff

About

An interactive Database Management System made for a real-word simulation of a Hotel Enterprise

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages