Skip to content

Commit 5bd527b

Browse files
authored
Merge pull request #3 from enosras/python_designer
Python designer
2 parents b79e5a9 + 4eeadf3 commit 5bd527b

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

trial1.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
import tkinter as tki
22
from time import sleep
3-
3+
import dbm as db_connect
4+
5+
mydb = mysql.connector.connect(
6+
host="localhost", # Your MySQL host
7+
user="root", # Your MySQL username
8+
password="2025@Redmond", # Your MySQL password
9+
database="trial_1" # The database you want to connect to
10+
)
411

512
def on_button_click():
613
"""Function to be called when the button is clicked."""

trial2.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
(
77
host='localhost',
88
user='enos',
9-
#port=3306,
109
password='2025@Redmond',
1110
database='trial_1'
1211
)

0 commit comments

Comments
 (0)