This is a simple Python application that connects to a MySQL database and displays data using a graphical user interface (GUI) built with Tkinter.
Description:
The project is a Python application that demonstrates how to connect to a MySQL database and retrieve data using the mysql.connector
library. It then displays the fetched data in a user-friendly GUI created with Tkinter and ttk
(themed tkinter).
Requirements:
- Python 3.x
- Tkinter (usually included with Python installations)
mysql.connector
library
Installation and Setup:
- Clone the project repository from GitHub.
- Navigate to the Project Directory.
- Install the required dependencies using
pip install mysql-connector-python
. - Set Up the Database.
- Update Database Configuration in the main.py file.
- Run the Application with
python main.py
.
Usage:
- Ensure you have Python and the required dependencies installed.
- Set up your MySQL database and create the necessary tables with sample data.
- Update the database connection settings in the Python script (main.py) to match your database configuration.
- Run the Application with
python main.py
. - The GUI will appear, showing the SQL data in a tabular format.
Author: Rehan Sayyed Email: rehansayyed591@email.com GitHub: https://github.com/rsayyed591