Answers for "mysql python connector windows"

14

python install mysql connector

pip3 install mysql-connector-python  #Python 3
pip install mysql-connector-python
Posted by: Guest on June-09-2020
3

mysql python connector

import mysql.connector

mydb = mysql.connector.connect(
  host="localhost",
  user="yourusername",
  password="yourpassword"
)

print(mydb)
Posted by: Guest on July-04-2020

Code answers related to "mysql python connector windows"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language