糖果VR分享网
标题: SELECT count(*) FROM security_failedlog 解决方案 [打印本页]
作者: 柳含烟 时间: 2022-5-14 11:31
标题: SELECT count(*) FROM security_failedlog 解决方案
出现这个问题,是防灌水记录出问题了,php中找到security_failedlog表 修复表
如果隔一段时间出现
修复(修复解决不了就删除)表pre_security_failedlog:,删除前请备份
DROP TABLE pre_security_failedlog;
下面 这个也可以,只是我已经确定存在了,就直接用的上面的
DROP TABLE IF EXISTS pre_security_failedlog;
重建表
- CREATE TABLE pre_security_failedlog ( id int(11) NOT NULL
- AUTO_INCREMENT, reporttype char(20) NOT NULL, tid int(10)
- unsigned NOT NULL DEFAULT '0', pid int(10) unsigned NOT NULL
- DEFAULT '0', uid int(10) unsigned NOT NULL DEFAULT '0',
- failcount int(10) unsigned NOT NULL DEFAULT '0', createtime int
- (10) unsigned NOT NULL DEFAULT '0', posttime int(10) unsigned
- NOT NULL DEFAULT '0', delreason char(255) NOT NULL, scheduletime
- int(10) unsigned NOT NULL DEFAULT '0', lastfailtime int(10)
- unsigned NOT NULL DEFAULT '0', extra1 int(10) unsigned NOT NULL,
- extra2 char(255) NOT NULL DEFAULT '0', PRIMARY KEY (id), KEY pid
- (pid), KEY uid (uid) ) ENGINE=MYISAM DEFAULT CHARSET=gbk
复制代码
作者: ajie5431 时间: 2022-5-14 15:38
感谢分享啊
作者: ajie5431 时间: 2022-5-15 13:06
谢谢分享啊
欢迎光临 糖果VR分享网 (https://www.tangguo2.com/) |
Powered by Discuz! X3.3 |