Chinaunix

标题: [请锁定]mysqlbinlog问题 [打印本页]

作者: wangxu0588    时间: 2006-01-23 16:06
标题: [请锁定]mysqlbinlog问题
我使用命令:
root@supporthost mysql]# /usr/bin/mysqlbinlog -h192.168.55.55 -uroot -R --to-last-log /var/lib/mysql/1.000001
但得到的结果是:
/*!40019 SET @@session.max_insert_delayed_threads=0*/;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
Got error reading packet from server: Could not find first log file name in binary log index file
# End of log file
ROLLBACK /* added by mysqlbinlog */;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
我的二进制日志索引文件1.index中很清晰的描述了我的二进制日志为:1.000001、1.000002、1.000003.

请问怎么解决?

[ 本帖最后由 wangxu0588 于 2006-1-27 11:37 编辑 ]
作者: macrodba    时间: 2006-01-24 17:36
mysqlbinlog --help
作者: wangxu0588    时间: 2006-01-26 10:07
呵呵,您能否说得项细些,我查看了这个帮助没有发现什么对我有用的信息。
作者: liu1084    时间: 2006-01-26 11:47
标题: 回复 1楼 wangxu0588 的帖子
Got error reading packet from server: Could not find first log file name in binary log index file
这就是错误发生的原因阿。
它告诉你:
mysqlbinlog从服务器上读取数据时失败,在你的服务器端不能找到第一个bin-log的索引文件。
作者: wangxu0588    时间: 2006-01-26 13:44
谢谢,我找到问题所在了,锁定
作者: qlks    时间: 2006-01-26 17:26
might the version of your mysqlbinlong
作者: yejr    时间: 2006-01-27 11:41
原帖由 wangxu0588 于 2006-1-26 13:44 发表
谢谢,我找到问题所在了,锁定


请分享你解决问题的过程。。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2