异常,坏表? 运行程序突然报异常:Incorrect key file for table './xx_db/xx_table.MYI';try to repair it 解决办法: 可以先运行 CHECK TABLE表名检查下是否存在错误. 然后运行 REPAIR TABLE表名进行修复. Incorrect key file for table './xx_db/xx_table.MYI'; try to repair it
参考:http://docs.mongodb.org/manual/tutorial/generate-key-file/ Generate a Key File Overview This section describes how to generate a key file to store authentication information. After generating a key file, specify the key file using the keyFile opti