问题描述:在python环境测试mysql 定时删除脚本时,出现下述问题
# pymysql.err.OperationalError: (1135, 'create a new thread (errno 1);
# if you are not out of available memory, you can consult the manual for a possible OS-dependent bug')
错误分析:错误或是由于游标开启未关闭印发,.close断开连接游标不会关闭,需在断开连接前关闭。否则达到上限后会报错。