GUVI
Back

Error when connecting SQL 

Created 3 years ago
37 Views
1 Comments
arun_subramanain
@arun_subramanain
arun_subramanain
@arun_subramanainProfile is locked. Login

import mysql.connector

mydb = mysql.connector.Connect(

host = "127.0.0.1",

user = "root",

passowrd = "Password@123"

)

print(mydb)

when i execute the above code I am getting this error:

Comments
Please login to comment.
 
Powered by habitate.io Habitate