We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0396b4f commit 8677c96Copy full SHA for 8677c96
4 DB in Python/MySQL Demo/DBconnectgrades.py
@@ -4,7 +4,7 @@
4
#root password is something you set when you install mysql on your system
5
#the default may be blank; I used python123 for testing
6
#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')
+dbconn = my.connect (host='127.0.0.1',port=33067,user='root', password='', db='students')
8
9
#print(dbconn) #This is a testing stub to make sure the connection worked. Uncomment it to use it.
10
cursor = dbconn.cursor()
0 commit comments