2 odpowiedzi
+ 7
Use SQL connector - Something like this..
import mysql.connector
mydb = mysql.connector.connect(
host="localhost",
user="yourusername",
password="yourpassword",
port = portno,
database='whatever db you want'
)
print(mydb)
+ 12
Thanks bhai 😊😊