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:
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: