百分百源码网-让建站变得如此简单! 登录 注册 签到领金币!

主页 | 如何升级VIP | TAG标签

当前位置: 主页>网站教程>Discuz教程> Discuz教程:数据表pre_security_failedlog错误及修复
分享文章到:

Discuz教程:数据表pre_security_failedlog错误及修复

发布时间:12/03 来源: 浏览: 关键词:
所遇问题现象,论坛有一些帖子不访问,报以下错误:
Discuz! Database Error

(145) Table "./jdhr/security_failedlog" is marked as crashed and should be repaired
SELECT count(*) FROM security_failedlog



pre_security_failedlog是防水墙失败日志记录表
并且修复此表后过段时间还会问题重现
只能删除表之后重建表才可以
进入phpMyAdmin运行以下SQL语句即可
  1. DROP TABLE pre_security_failedlog;
  2. CREATE TABLE pre_security_failedlog (
  3.   id int(11) NOT NULL AUTO_INCREMENT,
  4.   reporttype char(20) NOT NULL,
  5.   tid int(10) unsigned NOT NULL DEFAULT '0',
  6.   pid int(10) unsigned NOT NULL DEFAULT '0',
  7.   uid int(10) unsigned NOT NULL DEFAULT '0',
  8.   failcount int(10) unsigned NOT NULL DEFAULT '0',
  9.   createtime int(10) unsigned NOT NULL DEFAULT '0',
  10.   posttime int(10) unsigned NOT NULL DEFAULT '0',
  11.   delreason char(255) NOT NULL,
  12.   scheduletime int(10) unsigned NOT NULL DEFAULT '0',
  13.   lastfailtime int(10) unsigned NOT NULL DEFAULT '0',
  14.   extra1 int(10) unsigned NOT NULL,
  15.   extra2 char(255) NOT NULL DEFAULT '0',
  16.   PRIMARY KEY (id),
  17.   KEY pid (pid),
  18.   KEY uid (uid)
  19. ) TYPE=MyISAM;
复制代码
打赏

打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

百分百源码网 建议打赏1~10元,土豪随意,感谢您的阅读!

相关文章

共有9人阅读,期待你的评论!发表评论
昵称: 网址: 验证码: 点击我更换图片
最新评论

本文标签

广告赞助

能出一分力是一分吧!

订阅获得更多模板

本文标签

广告赞助

订阅获得更多模板