pymysql 连接报错: self.host_info = “socket %s:%d” % (self.host, self.port) 解决办法: port=3306 而不是 port=‘3306’