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
相关文章
相关标签/搜索