An open API service indexing awesome lists of open source software.

https://github.com/kayx23/tkinter-mysql-form

A tkinter form that connects to MySQL server to perform CRUD
https://github.com/kayx23/tkinter-mysql-form

mysql-server sql tkinter

Last synced: over 1 year ago
JSON representation

A tkinter form that connects to MySQL server to perform CRUD

Awesome Lists containing this project

README

          

# tkinter-mysql-form
A form built in Python Tkinter that connects with the MySQL server. The db account was only granted the SELECT priviledge. All data are mock data.

![demo](https://user-images.githubusercontent.com/39619599/96099444-3fedba80-0ea1-11eb-92c0-747e8adb93de.gif)

### Schema

### Notes to self
* Can't call mysql.connector.cursor.fetchall() twice; it fetches all the rows yet not fetched from a query result. If you've already fetched once there's nothing left.
* Workaround to get total row count and loop through the rows again would be to create two cursors - do fetchall() for the row count cursor and loop through rows with the other one.