Discuz 出现 got error 175 from storage engine 错误


问题描述:

今天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

Debug

No. File Line Code
1 forum.php 71 require(%s)
2 source/module/forum/forum_forumdisplay.php 640 table_forum_thread->fetch_all_search(Array, %d, %d, %d, %s, %s, %s)
3 source/class/table/table_forum_thread.php 523 discuz_database::fetch_all(%s)
4 source/class/discuz/discuz_database.php 101 discuz_database::query(%s, Array, false, false)
5 source/class/discuz/discuz_database.php 137 db_driver_->query(%s, false, false)
6 source/class/db/db_driver_mysql.php 152 db_driver_mysql->halt(%s, %d, %s)
7 source/class/db/db_driver_mysql.php 223 break()

 解决办法:

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

这里的pre_forum_thread为崩溃的表名。

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

命令查看磁盘情况。

点赞

发表评论

电子邮件地址不会被公开。 必填项已用*标注

Scroll Up