用 Python 查询 MySQL 5.6.50 。有一个对列表数据进行遍历查询,然后经常在查询 1 条或者多条的情况下出现这样异常中断。Google 了一圈没找到啥原因。
pymysql.err.InternalError: (7, "Error on rename of '.\\test_db\\total_count.frm~'
to '.\\test_db\\total_count.frm' (Errcode: 13 - Permission denied)")
按 StackOverFlow 上
https://stackoverflow.com/questions/34522616/mysql-errcode-13-permission-denied,已经排查过杀毒软件的影响。