Mysql中Table ‘XXX’ is marked as crashed and last (automatic?)问题解决方法
程序员文章站
2024-02-27 21:54:27
网站的 mysql 数据库出现错误如下提示:复制代码 代码如下:table ‘.\dede_archives' is marked as crashed and last...
网站的 mysql 数据库出现错误如下提示:
该问题即为相关表受到损坏,一般情况下,可以用 phpmyadmin 对该表进行修复。
如果是独立的服务器,也可使用命令行方式进行修复。修复前将mysql服务停止:
然后执行如下命令(参考)修复该表:
注意数据库表所在路径。 win 主机下可类比执行。
复制代码 代码如下:
table ‘.\dede_archives' is marked as crashed and last (automatic?)
该问题即为相关表受到损坏,一般情况下,可以用 phpmyadmin 对该表进行修复。
如果是独立的服务器,也可使用命令行方式进行修复。修复前将mysql服务停止:
复制代码 代码如下:
/etc/init.d/mysqld stop
然后执行如下命令(参考)修复该表:
复制代码 代码如下:
myisamchk -r /usr/local/mysql/var/dede/dede_archives.myi
注意数据库表所在路径。 win 主机下可类比执行。
推荐阅读
-
mysql table is marked as crashed and last (automatic?) repai
-
mysql table is marked as crashed and last (automatic?) repai
-
mysql table is marked as crashed and last (automatic?) repai_MySQL
-
mysql table is marked as crashed and last (automatic?) repai_MySQL
-
Mysql中Table ‘XXX’ is marked as crashed and last (automati_MySQL
-
Mysql中Table ‘XXX’ is marked as crashed and last (automati_MySQL