#145 – Table ‘.wp_posts’ is marked as crashed and should be repaired

2017年05月10日 PHP 暂无评论

wordpress出现错误

#145 - Table '.wp_posts' is marked as crashed and should be repaired

找到mysql的安装目录的bin/myisamchk工具,在命令行中输入:

myisamchk -c -r ../data/tablename/wp_posts.MYI

#145 - Table '.wp_posts' is marked as crashed and should be repaired

然后myisamchk 工具会帮助你恢复数据表的索引。也不用重新启动mysql,问题就解决了。

给我留言