Discuz 出现 got error 175 from storage engine 错误

[title]问题描述:[/title]

今天Discuz论坛点击版块链接后出现了如下错误:

Discuz! Database Error

(1030) Got error 175 from storage engine

SELECT * FROM forum_thread WHERE `fid`=’304′ AND `displayorder` IN(‘0′,’1’) ORDER BY displayorder DESC, lastpost DESC LIMIT 40

PHP Debug

No.FileLineCode
1forum.php71require(%s)
2source/module/forum/forum_forumdisplay.php640table_forum_thread->fetch_all_search(Array, %d, %d, %d, %s, %s, %s)
3source/class/table/table_forum_thread.php523discuz_database::fetch_all(%s)
4source/class/discuz/discuz_database.php101discuz_database::query(%s, Array, false, false)
5source/class/discuz/discuz_database.php137db_driver_mysql->query(%s, false, false)
6source/class/db/db_driver_mysql.php152db_driver_mysql->halt(%s, %d, %s)
7source/class/db/db_driver_mysql.php223break()

[title]?解决办法:[/title]

1、主要原因是数据表崩溃的原因,我们直接在MySQL 命令行或者phpmyadmin的SQL里修复即可:

repair table pre_forum_thread;

这里的pre_forum_thread为崩溃的表名。

2、另外一种原因可能是磁盘满了。可以用

df -h

命令查看磁盘情况。

WeChat