当mysql由于服务器突然断电或系统磁盘爆满导致数据表文件出现marked as crashed and should be required时,进入mysql安装目录下的bin文件夹,执行myisamchk 命令解决:
D:\GS1000\greenMySql5\bin>myisamchk -c -r ../Data/gs_test/t_operation_log.MYI (修复数据库gs_test下的t_operation_log表)
当mysql由于服务器突然断电或系统磁盘爆满导致数据表文件出现marked as crashed and should be required时,进入mysql安装目录下的bin文件夹,执行myisamchk 命令解决:
D:\GS1000\greenMySql5\bin>myisamchk -c -r ../Data/gs_test/t_operation_log.MYI (修复数据库gs_test下的t_operation_log表)