Table “%s” is marked as crashed and last (automati

分类:数据库| 发布:camnprbubuol| 查看: | 发表时间:2011/10/8

【此方法针对于Discuz论坛的mysql数据库的修复】

具体的错误代码

Discuz! Database Error
The database has encountered a problem. Need Help?

--------------------------------------------------------------------------------

Error messages:
[Type] 查询语句错误
[144] Table ’./ultrax/home_feed’ is marked as crashed and last (automatic?) repair failed
[Query] DELETE FROM home_feed WHERE id IN (’32199’,’32202’,’32206’,’32209’,’32211’,’32214’) AND idtype=’pid’


Program messages:
[Line: 0059]admin.php(require)
[Line: 1575]source/admincp/admincp_members.php(deletepost)
[Line: 0143]source/function/function_delete.php(DB::delete)
[Line: 0910]source/class/class_core.php(DB::query)


错误编号:144

问题分析:

数据表损坏造成的。

解决方法:

1、通过论坛的 tool 工具进行修复

下载地址和使用说明见:http://www.discuz.net/thread-982699-1-1.html

2、myisamchk 修复

myisamchk 命令的格式如下:

1)myisamchk --recover tbl_name

2)myisamchk --recover /path/tbl_name

这种方法要指定数据表在磁盘上的位置。

3、使用 phpMyAdmin 修复数据的方法

进入论坛数据库,然后选择要修复的表,在页脚下拉框选择“修复”即可。

注意:如果需要修复数据库,修复前一定要做好备份。

来源:http://faq.comsenz.com/viewnews-152

365据说看到好文章不转的人,服务器容易宕机
原创文章如转载,请注明:转载自郑州网建-前端开发 http://camnpr.com/
本文链接:http://camnpr.com/database/455.html