[ERROR]XX is marked as crashed and should be repaired
今天發現error日誌中有個錯誤,記錄下解決過程。
錯誤日誌:
2016-05-30 10:28:03 23241 [ERROR] /usr/sbin/mysqld: Table './mysql/event' is marked as crashed and should be repaired
mysql庫中的event表有問題需要修復
可以使用myisamchk 工具會幫助你恢復資料表的索引
[root@mysql mysql]# find / -name myisamchk
/usr/bin/myisamchk
[root@mysql mysql]# /usr/bin/myisamchk -c -r /data/DB/mysql/mysql/event.MYI
- recovering (with sort) MyISAM-table '/data/DB/mysql/mysql/event.MYI'
Data records: 8
- Fixing index 1
重啟資料庫解決
錯誤日誌:
2016-05-30 10:28:03 23241 [ERROR] /usr/sbin/mysqld: Table './mysql/event' is marked as crashed and should be repaired
mysql庫中的event表有問題需要修復
可以使用myisamchk 工具會幫助你恢復資料表的索引
[root@mysql mysql]# find / -name myisamchk
/usr/bin/myisamchk
[root@mysql mysql]# /usr/bin/myisamchk -c -r /data/DB/mysql/mysql/event.MYI
- recovering (with sort) MyISAM-table '/data/DB/mysql/mysql/event.MYI'
Data records: 8
- Fixing index 1
重啟資料庫解決
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29989552/viewspace-2109124/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Table '.\mysql\proc' is marked as crashed and should be repaired 報錯MySqlAI
- mysqld: Table '.mac_vod' is marked as crashed and should be repairedMySqlMacAI
- MySQL資料庫出錯:Table ... is marked as crashed and should be repairedMySql資料庫AI
- 資料庫 Table is marked as crashed and should be repaired 解決辦法資料庫AI
- MySQL錯誤修復:Table xx is marked as crashed and last (automatic?) repair failedMySqlASTAI
- [exec] ERROR: 9-patch image xxx.9.png malformed. [exec] No marked region found along edge.ErrorORM
- Setup had an error Error: At least one of these paths should existErrorAST
- error: ‘xxx’ does not name a typeError
- QT中error: xxx does not name a type xxx錯誤QTError
- [PM2][ERROR] Process XXX not foundError
- Error querying database. XXXXXXXXXXXXX, No database selected。ErrorDatabase
- Unknown SSL protocol error in connection to xxx:443ProtocolError
- 【主機】kernel: XXX [ ]: segfault at rip rsp error NError
- Internal Error with background job scheduling XXXXXXXXXXXXX.Error
- IDEA Error:java xxxx 程式包不存在IdeaErrorJava
- Error:Cannot build artifact xxx:war exploded‘ because it is included into a circular dependencyErrorUI
- Angular 錯誤訊息:ERROR Error NullInjectorError No provider for XXAngularErrorNullIDE
- Error building Player: Win32Exception: ApplicationName=‘xxxxxxxxxxxxxxxxxx//sdk\tools\zipalign.exe' ...ErrorUIWin32ExceptionAPP
- 關於報錯Error creating bean with name 'xxxxx': Invocation of init method....ErrorBean
- nginx之 [error] 6702#0:XXX is forbidden (13: Permission denied)NginxErrorORB
- Oracle Error:emcp:EKBL043: emcp_pseudo_ctl_ioctl: Invalid cmd 0xxxxxx, proc nameOracleError
- PL/SQL Developer啟動時報錯,Initialization error could not load xxxx\oci.dllSQLDeveloperError
- Error:Maven Resources Compiler: Failed to copy 'XXX' to 'YYY': YYY (拒絕訪問。)ErrorMavenCompileAI
- Angular 依賴注入錯誤訊息:ERROR Error NullInjectorError No provider for XXAngular依賴注入ErrorNullIDE
- 執行maven專案出現Error:java: JDK isn‘t specified for module ‘XXX‘MavenErrorJavaJDK
- error: The shader requires a sampler in slot 0 which hasn't been set [XXXsampler]ErrorUI
- 解決程式中Error creating bean with name 'XXXXX‘ defined in class path resource [application的異常ErrorBeanAPP
- MIRO報錯Error in account determination: table T030R key XXXX VSTError
- Error generating final archive: Debug certificate expired on XXXX 時間的解決辦法ErrorHive
- Qt error: LNK1104: 無法開啟檔案“releasexxxxx.exe”報錯解決方案QTError
- 在 fish 終端下報錯 source: Error while reading file “xxx” 等問題ErrorWhile
- Xcode10 Archive Error - Multiple command product 'xxx/Info.plist' 解決方案XCodeHiveError
- ./XXX.XX: error while loading shared libraries: libGLEW.so.2.1: cannot open shared object file: NoErrorWhileObject
- SDXL Error : "The shape of the 2D attn_mask is torch.Size([77, 77]), but should be (1, 1)"Error
- EXT2-fs (dm-1): error: ext2_lookup deleted inode referenced 23422324XXXXErrordelete
- pgsql 執行建庫指令碼時候出現ERROR: relation "xxx_id_seq" does not existSQL指令碼Error
- TextInput should be given height
- What database aspects should be monitored?Database