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

wordpress出现错误

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

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

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

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

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: