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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[疑问] 转换空间,数据库出错,造成访问超慢

[复制链接]
xmadsl 发表于 2011-5-10 18:32:40 | 显示全部楼层 |阅读模式
因为原来的空间到期了,就再买 个不同的。自己FTP备份空间内容,然后让服务商帮我把数据库备份过去。可是使用下来,发现超级的慢,每打开一个贴子,都要10秒以上。www.xmadsl.com
后来慢慢询问,发现在是数据库表损坏,如:s494878db0.cdb_members         repair         Error         Can't find file: 'cdb_members' (errno: 2)
这样的内容等等,像这样的要如何修复呢?
服务商跟我说,用他们自带的phpmyadmin也修复不了的。有这方面的高手指点一下吗
baxter 发表于 2011-5-10 18:40:32 | 显示全部楼层
用TOOLS修复一下看看
回复

使用道具 举报

 楼主| xmadsl 发表于 2011-5-10 18:41:40 | 显示全部楼层
本帖最后由 xmadsl 于 2011-5-11 00:08 编辑
baxter 发表于 2011-5-10 18:40
用TOOLS修复一下看看

谢谢你的回复。
我是菜鸟,不懂这些。能不能给个详细 的一点的步骤呢?
不胜感激

用了TOOLS,不懂得有没有用错,好像是没有找到数据库吧。
都是0 大家帮我看下,哪里有错呢?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

幸福在右 发表于 2011-5-10 21:06:49 | 显示全部楼层
  论坛里有 tools 工具
  里面有比较详细的使用说明。。
回复

使用道具 举报

 楼主| xmadsl 发表于 2011-5-10 23:37:37 | 显示全部楼层
本帖最后由 xmadsl 于 2011-5-11 00:10 编辑
幸福在右 发表于 2011-5-10 21:06
论坛里有 tools 工具
  里面有比较详细的使用说明。。
现在用TOOLS修复,点的是5次修复的,大家看下,好像没有效果,仍然是这一些。


出错的是这样的,我全部复制进来。
Can't find file: 'cdb_forumfields' (errno: 2)
Operation failed

Can't find file: 'cdb_forums' (errno: 2)
Operation failed

Can't find file: 'cdb_members' (errno: 2)
Operation failed

Can't find file: 'cdb_posts' (errno: 2)
Operation failed

The storage engine for the table doesn't support r...

Can't find file: 'cdb_stats' (errno: 2)

Can't find file: 'cdb_threads' (errno: 2)

Data truncated for column 'from_ip_address' at row...
Invalid default value for 'from_ip_address'
Table is already up to date

Data truncated for column 'topic_state' at row 1
Invalid default value for 'topic_state'
Table is already up to date

Data truncated for column 'wlog_type' at row 1
Invalid default value for 'wlog_type'
Table is already up to date

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

 楼主| xmadsl 发表于 2011-5-11 00:13:51 | 显示全部楼层
还出错了,这一些

Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'cd087.gotoip.net' (4) in /home1/vhost/vh494878/www/tools.php on line 58

Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'root'@'localhost' (using password: NO) in /home1/vhost/vh494878/www/tools.php on line 59

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home1/vhost/vh494878/www/tools.php on line 59

Warning: mysql_query() [function.mysql-query]: Access denied for user 'root'@'localhost' (using password: NO) in /home1/vhost/vh494878/www/tools.php on line 64

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home1/vhost/vh494878/www/tools.php on line 64

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home1/vhost/vh494878/www/tools.php on line 73

回复

使用道具 举报

beijing200808 发表于 2011-5-11 09:53:29 | 显示全部楼层
让空间商那边直接用mysql的自带工具或者命令进行修复一下(myisamchk、repair)
回复

使用道具 举报

幸福在右 发表于 2011-5-11 19:59:01 | 显示全部楼层
数据表有问题 了。。
回复

使用道具 举报

beijing200808 发表于 2011-5-12 10:45:49 | 显示全部楼层
beijing200808 发表于 2011-5-11 09:53
让空间商那边直接用mysql的自带工具或者命令进行修复一下(myisamchk、repair)

试试
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-10-1 20:30 , Processed in 0.103785 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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