方式一:
db = pymysql.connect('localhost', 'root', '123456', 'test')
方式一连接失败,提示参数太多
方式二:
db = pymysql.connect( =====)
方式二连接正确,请问是什么原因呢
参数不对,不建议用方式1