Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

数据库常见错误信息和解决方法集中讨论贴

[复制链接]
yousufu 发表于 2006-11-21 10:38:48 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

52software 发表于 2006-12-13 17:30:29 | 显示全部楼层

请教如何解决,谢谢各位了

Discuz! info: MySQL Query Error

Time: 2006-12-13 9:26am
Script: /index.php

SQL: SELECT type FROM cdb_usergroups WHERE groupid='7'
Error: Table 'sqltruelove99.cdb_usergroups' doesn't exist
数据表缺失,请恢复备份数据

An error report has been dispatched to our administrator.
回复

使用道具 举报

心中的星光 发表于 2006-12-14 14:33:08 | 显示全部楼层
Discuz! info: Can not connect to MySQL server

Time: 2006-12-14 6:27am
Script:

Error: Lost connection to MySQL server during query
Errno.: 2013
******************************************
Discuz! info: Can not connect to MySQL server

Time: 2006-12-14 6:29am
Script:

Error: Access denied for user '51417'@'localhost' (using password: YES)
数据库帐户密码不对,请联系空间商
*****************************************************


这个要怎样解决?
回复

使用道具 举报

hcdtbs 发表于 2006-12-16 16:05:58 | 显示全部楼层
Discuz! info: MySQL Query Error

User: TQ
Time: 2006-12-16 4:03pm
Script: /post.php

SQL: INSERT INTO cdb_posts (fid, tid, first, author, authorid, subject, dateline, message, useip, invisible, anonymous, usesig, htmlon, bbcodeoff, smileyoff, parseurloff, attachment)
VALUES ('22', '42355', '0', 'TQ', '1', '', '1166256180', 'zhichi', '61.144.54.40', '0', '0', '1', '0', '-1', '-1', '', '0')
Error: Duplicate entry '0' for key 1
Errno.: 1062

Similar error report has beed dispatched to administrator before.


大人这个怎样解决~~???
回复

使用道具 举报

timmimiboy 发表于 2006-12-16 18:03:38 | 显示全部楼层
Discuz! info: MySQL Query Error

User: timmimiboy
Time: 2006-12-16 5:58pm
Script: /index.php

SQL: UPDATE cdb_stats SET count=count+1 WHERE (type='total' AND variable='hits') OR (type='browser' AND variable='Mozilla') OR (type='os' AND variable='Windows') OR (type='total' AND variable='members') OR (type='month' AND variable='200612') OR (type='week' AND variable='6') OR (type='hour' AND variable='17')
Error: Table 'cdb_stats' is read only
Errno.: 1036



請問這是什麼事??

今日本來是好好的

現在就變成這樣
回复

使用道具 举报

99799 发表于 2006-12-17 17:19:53 | 显示全部楼层
今天查看论坛,有些附有图片的帖子顶部出现以下错误提示

[Copy to clipboard]
CODE:
Warning: Missing argument 3 for attachtag(), called in D:\Discuz!EXP\wwwroot\viewthread.php(335) : regexp code on line 1 and defined in D:\Discuz!EXP\wwwroot\include\discuzcode.func.php on line 42

帖子中的图片都换了地方,没有在原图片的位置出现

[Copy to clipboard]
CODE:


这如何解决???
回复

使用道具 举报

cash163 发表于 2006-12-17 17:40:02 | 显示全部楼层
Discuz! info: MySQL Query Error

Time: 2006-12-17 5:39pm
Script: /index.php

SQL: SELECT t.tid, t.subject, t.author, t.lastpost, t.lastposter, t.views, t.replies, m.email
FROM cdb_subscriptions s, cdb_members m, cdb_threads t
WHERE s.lastpost>s.lastnotify AND m.uid=s.uid AND t.tid=s.tid
Error: Lost connection to MySQL server during query
Errno.: 2013

Similar error report has beed dispatched to administrator before.

老大 请问我这个如何解决?
出错都是晚上12点的时候,以前出现2013错误,服务器重启就好,这次重启没用了.已经挂了这么久了.
查询的一些,都是服务器原因,可是同一台服务器的其他DZ论坛没有问题.
回复

使用道具 举报

83539759 发表于 2006-12-19 00:37:01 | 显示全部楼层
升级4。0到5。0  出现下面错误怎么办?
Discuz! info: MySQL Query Error

Time: 2006-12-18 4:09pm
Script: /bbs/upgrade6.php

SQL: DELETE FROM cdb_sessions
Error: No Database Selected
Errno.: 1046

Similar error report has beed dispatched to administrator before.
回复

使用道具 举报

sealand210 发表于 2006-12-21 23:07:17 | 显示全部楼层
请选择已存在的数据库或者新建一个数据库存放论坛数据

Warning: fopen(./config.inc.php) [function.fopen]: failed to open stream: Permission denied in D:\POST\bbs\install.php on line 459

Warning: fwrite(): supplied argument is not a valid stream resource in D:\POST\bbs\install.php on line 460

Warning: fclose(): supplied argument is not a valid stream resource in D:\POST\bbs\install.php on line 461
请设置安装论坛的数据库
这个怎么办啊? 救我呀~~
回复

使用道具 举报

Ocean_love 发表于 2006-12-23 21:08:11 | 显示全部楼层
Error:Table 'devilworl_biz.cdb_postban' doesn't exist
Errno:1146
SQL:SHOW CREATE TABLE cdb_postban
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-9-29 05:19 , Processed in 0.109272 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表