MySQL table is marked as crashed and last (automatic?) repair failed

前端 未结 9 1766
半阙折子戏
半阙折子戏 2021-01-29 18:01

I was repairing this table suddenly server hanged and when I returned back all tables are ok but this one showing \'in use\' and when I try to repair it doesn\'t proceed.

<
9条回答
  •  梦如初夏
    2021-01-29 18:17

    If it gives you permission denial while moving to /var/lib/mysql then use the following solution

    $ cd /var/lib/
    $ sudo -u mysql myisamchk -r -v -f mysql//
    

提交回复
热议问题