ERR - fv_mysql_set_workBill: Error with MYSQL_OpenRecordset<select count(aw_deviceid) as cntID from af_alarmworkbill where aw_deviceid=90162307 and aw_pointid=90162321 and aw_begindate='2014-05-02 18:51:36'>, reason:Can't open file: 'af_alarmworkbill.MYI' (errno: 145)
解決方法,修複資料庫表:
1、檢查表
#./myisamchk /path/tableName
一般檢查表資料後,會提示使用什麼參數修複表資料
2、修複表資料
#myisamchk -q /path/tableName
#myisamachk -o /path/tableName
第一種方法速度快,修複普通問題;第二種速度慢,用來修複第一種方法不能修複的問題。