Chinaunix

标题: 从远程读取bin-log (mysqlbinlog)问题 [打印本页]

作者: pk984813    时间: 2009-10-07 03:26
标题: 从远程读取bin-log (mysqlbinlog)问题
# mysqlbinlog -R -u root -p -h 192.168.1.101 -d test mysql-bin.0000* --start-datetime='2009-10-03 03:02:23' > ./test.sql

出现这个错误
"Got error reading packet from server: Could not find first log file name in binary log index file"
作者: cenalulu    时间: 2009-10-07 13:51
应该是远程主机 binlog.index里记录的binlog文件和实际文件名不一致的结果吧。
check一下,index记录的内容在文件夹中都实际存在。
作者: phphp    时间: 2009-10-08 10:27
mysql-bin.0000*不能这么用




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