python3.3~mysql模块:‘int‘ does not support the buffer interface
通过python往数据库插入数据,当一次性插入数据量为几百条时,都没问题,当一次性插入上万条时,报错,
'int' does not support the buffer interface
问题出现在int的一个转换问题。解决办法如下:
修改Python33\Lib\site-packages\pymysql3-0.5-py3.3.egg这个压缩包中的pymysql/connect
原创
2021-01-12 09:17:32 ·
229 阅读 ·
0 评论