java多线程    Java入门    vsftp    ftp    linux配置    centos    FRP教程    HBase    Html5缓存    webp    zabbix    分布式    neo4j图数据库    

wp_postmeta’ is marked as crashed and should be repaired

ERROR 145 (HY000): Table './wordpress/wp_postmeta' is marked as crashed and should be repaired

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

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

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

myisamchk -c -r /var/lib/mysql/wordpress/wp_postmeta.MYI

myisamchk: error: 140 when opening MyISAM-table,去掉后面的MYI就好了,mysql5.6以后改版了

myisamchk -c -r /var/lib/mysql/wordpress/wp_postmeta


This entry was posted in PHP. Bookmark the permalink.
月小升QQ 2651044202, 技术交流QQ群 178491360
首发地址:月小升博客https://java-er.com/blog/wp_postmeta-is-marked-as-crashed-and-should-be-repaired/
无特殊说明,文章均为月小升原创,欢迎转载,转载请注明本文地址,谢谢
您的评论是我写作的动力.

Leave a Reply