pymysql 報錯:module 'pymysql' has no attribute 'connect'

之前試試用python 連接 mysql ,用到了pymysql模塊,程序如下: import pymysql connection = pymysql.connect('localhost', 'root', '123456', 'python_opmysql') sql = "create table wee (name varchar(10), age int(2));" curso
相關文章
相關標籤/搜索