BakedLight/IP-MySQL-Connector
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
This is a project that I made during my class 11th using TKinter and MySQL connector libraries
Before using this, keep in mind:
-> For this to work directly, you should have Tkinter and MySQL.connector libraries installed
-> You should have MySQL client
Now further, in order for code to work properly, you can either follow the instructions written below or customize the code to work for you
==> For this to work as it is,
-> Your MySQL user should be 'root'(it is default if you haven't done anything user related)
-> You should have a MySQL database called 'student_manager'
- You can type "create database student_manager;" in MySQL console to create that
-> Then you should have a table named student in the database as described below, to create that:
- Firstly write, "use student_manager;" to get into the database then,
- "create table student(RollNo int primary key, Name char(20), Percentage int, dob date);"
-> Congrats, you're good to go now
-> You can add your own data in the created table if you want or you can do that directly from python code as well
==> If you want to use this with your custom user, database or password:
-> Go to line 61 in the code, there you can change whatever you want and follow the same above steps for the table in your custom database
-> Note: If you want your custom table to be supported by this, it isn't possible 'cause I wasn't that good in 11th so I couldn't make that and then finished this where it is
so you'll have to modify it yourself in order to work it with your table (that might break stuff as well)