小编cod*_*nja的帖子

Amazon RDS mysqbinlog“在二进制日志索引文件中找不到第一个日志文件名”

前言:

我们在 AWS 上使用 RDS 来管理我们的 MySQL 数据库。我知道 RDS 创建用于复制的二进制日志。我想收集这些二进制日志并将它们存储在 S3 上,以便随时可以恢复到异地数据库并重播操作。

问题:

我扩展了一个新的 RDS 实例,并尝试了以下操作。

root@aws_test_server:/root# mysqlbinlog -h testing.xxxxxxxx.eu-west-1.rds.amazonaws.com -u myuser -p --read-from-remote-server -t mysql-bin-changelog.000002
Enter password:
/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=1*/;
/*!40019 SET @@session.max_insert_delayed_threads=0*/;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
DELIMITER /*!*/;
ERROR: Got error reading packet from server: Could not find first log file name in binary log index file
DELIMITER ;
# End of log file
ROLLBACK /* added by mysqlbinlog */;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=0*/;
root@aws_test_server:/root#
Run Code Online (Sandbox Code Playgroud)

所以二进制日志检索得很好,但是看到二进制日志中的错误..这是什么意思?

我用谷歌搜索了大约 …

mysql aws amazon-rds

7
推荐指数
1
解决办法
1万
查看次数

标签 统计

amazon-rds ×1

aws ×1

mysql ×1