Skip to content

Commit 8677c96

Browse files
committed
DB credentials updated for MySQL
1 parent 0396b4f commit 8677c96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

4 DB in Python/MySQL Demo/DBconnectgrades.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#root password is something you set when you install mysql on your system
55
#the default may be blank; I used python123 for testing
66
#BE SURE to match your password to the password you set when installing MySQL. If in doubt, try a blank password
7-
dbconn = my.connect (host='127.0.0.1',port=3306,user='root', password='python123', db='students')
7+
dbconn = my.connect (host='127.0.0.1',port=33067,user='root', password='', db='students')
88

99
#print(dbconn) #This is a testing stub to make sure the connection worked. Uncomment it to use it.
1010
cursor = dbconn.cursor()

0 commit comments

Comments
 (0)