This project is a Student Database Management System built using Python and MySQL. It allows users to manage student data with basic operations like inserting, updating, deleting, and displaying student records.
- Python 3.x
- MySQL
- MySQL Connector for Python
The project provides the following core features:
- Allows the user to insert a new student record.
- Inputs: name, age, email, gender, student ID, class.
- Lets the user update existing student information (name, age, email, etc.) based on the student ID.
- Deletes a student record by student ID.
- Displays the structure (columns and types) of the
Studentstable.
- Displays all the student records from the table.
- Lists all tables in the connected database.
- Creates the
Studentstable if it doesn't already exist.
- All functions are menu-driven and user-friendly.
- User input is taken via terminal and executed with live MySQL connection.
It's recommended to use parameterized queries for real-world applications to avoid SQL injection.