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
- Host: GitHub
- URL: https://github.com/kayx23/tkinter-mysql-form
- Owner: kayx23
- Created: 2020-10-15T07:19:22.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-08T21:34:20.000Z (over 5 years ago)
- Last Synced: 2024-10-15T18:11:08.094Z (over 1 year ago)
- Topics: mysql-server, sql, tkinter
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.

### 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.