Skip to content

Integrates MySQL database with Custom Tkinter in python and can perform SQL Queries on it

Notifications You must be signed in to change notification settings

praths71018/CustomTkinter-SQL-Integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CustomTkinter-SQL-Integration

Connecting MySQL Database with Custom Tkinter GUI in Python.

  • This appplication first connects the Python program to Health Database
  • When you execute the program you get a GUI asking to type the temperature.
  • After entering the Temperature it finds the matching row for the Temperature in Database.
  • It then Fetches the Feedback from the Database and display the GUI

Modules / Requirements

  • MySQL
  • python mysql.connector
  • customtkinter
  • health database (health.sql)

Database

database

Running the application

  1. Run health.sql to create the health database

  2. Run main.py

    python main.py
  3. A GUI will pop up as shown in below Figure.

    img3

  4. Enter temperature and press Enter button. Feedback will be displayed

    img1

    img2