Cannot connect to MySQL in Python program

后端 未结 0 928
遇见更好的自我
遇见更好的自我 2021-02-19 00:53

I am trying to establish a connection with a MySQL database in a python program

import mysql.connector
cnx = mysql.connector.connect(
    host=\'localhost\',
             


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题