引起错误的代码: cursor = cnx.cursor() 将上述代码改为: cursor = cnx.cursor(buffered=True) 转载于:https://www.cnblogs.com/mentiantian/p/9531861.html