We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b79e5a9 + 4eeadf3 commit 5bd527bCopy full SHA for 5bd527b
2 files changed
trial1.py
@@ -1,6 +1,13 @@
1
import tkinter as tki
2
from time import sleep
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
+ )
11
12
def on_button_click():
13
"""Function to be called when the button is clicked."""
trial2.py
@@ -6,7 +6,6 @@
(
host='localhost',
user='enos',
- #port=3306,
password='2025@Redmond',
database='trial_1'
)
0 commit comments