pymysql报错 takes 1 positional argument but 2 were given

TypeError: __init__() takes 1 positional argument but 2 were given

报错原因 ,新版本代码改了,传端口主机密码这些要用关键字参数,不能用位置参数了

评论

暂无评论