Mysql Connector Statement To Python

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

#it connects my sql to python

#this statement remains the same


#here the password is the password of your my sql

mydb=mysql.connector.connect(host='localhost',user='root',password='1234')
mycursor=mybd.cursor()

You might also like