Skip to content

rsayyed591/Display-database-using-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

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:

  1. Clone the project repository from GitHub.
  2. Navigate to the Project Directory.
  3. Install the required dependencies using pip install mysql-connector-python.
  4. Set Up the Database.
  5. Update Database Configuration in the main.py file.
  6. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages