解决办法:
找到mysql修复工具 myisamchk
通过修复命令,对表数据就行修复:
# myisamchk -c -r /opt/zbox/data/mysql/zentao/zt_action.*
myisamchk: error: '/opt/zbox/data/mysql/zentao/zt_action.frm' is not a MyISAM-table
---------
myisamchk: error: '/opt/zbox/data/mysql/zentao/zt_action.MYD' is not a MyISAM-table
---------
- recovering (with sort) MyISAM-table '/opt/zbox/data/mysql/zentao/zt_action.MYI'
Data records: 35907
- Fixing index 1
Found block that points outside data file at 2326520
修复完成,可以正常访问表数据了。