TypeError:__init__()takes1positionalargumentbut2weregiven错误原因是新版本的代码被改了,端口主机的密码必须使用关键字参数而不是位置参数
pymysqlerrortakes1positionalargumentbut2weregiven相关文章