gyViolet

pymysql连接数据库报错:

解决方法:

将db = pymysql.connect(“localhost”,“root”,“root”,“testdb” )修改为 db = pymysql.connect(host=“localhost”, user=“root”, password=“root”, database=“testdb”)

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-09-05
  • 2021-06-20
  • 2022-12-23
  • 2022-03-05
  • 2022-12-23
  • 2021-07-14
猜你喜欢
  • 2021-04-15
  • 2021-11-20
  • 2021-11-20
  • 2021-10-11
  • 2022-12-23
  • 2021-11-22
  • 2021-12-15
相关资源
相似解决方案