如何为RDS Mysql for Debezium connector启用二进制日志记录
我正试图通过以下文档设置MySQL Debezium连接器 我想为RDS启用bin日志记录,其中我有一个数据库实例的读写器 我尝试启用它,但似乎缺少了一些内容:如何为RDS Mysql for Debezium connector启用二进制日志记录,mysql,amazon-web-services,amazon-rds,debezium,Mysql,Amazon Web Services,Amazon Rds,Debezium,我正试图通过以下文档设置MySQL Debezium连接器 我想为RDS启用bin日志记录,其中我有一个数据库实例的读写器 我尝试启用它,但似乎缺少了一些内容: mysql> show global variables like 'log_bin'; show global variables like 'binlog_format'; +---------------+-------+ | Variable_name | Value | +---------------+-------
mysql> show global variables like 'log_bin'; show global variables like 'binlog_format';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| log_bin | OFF |
+---------------+-------+
1 row in set (0.19 sec)
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| binlog_format | ROW |
+---------------+-------+
1 row in set (0.20 sec)
mysql> SHOW BINARY LOGS;
ERROR 1381 (HY000): You are not using binary logging
mysql> call mysql.rds_set_configuration('binlog retention hours', 24);
Query OK, 0 rows affected (0.20 sec)
mysql> SHOW BINARY LOGS;
ERROR 1381 (HY000): You are not using binary logging
mysql> CALL mysql.rds_show_configuration
-> ;
+------------------------+-------+------------------------------------------------------------------------------------------------------+
| name | value | description |
+------------------------+-------+------------------------------------------------------------------------------------------------------+
| binlog retention hours | 24 | binlog retention hours specifies the duration in hours before binary logs are automatically deleted. |
+------------------------+-------+------------------------------------------------------------------------------------------------------+
1 row in set (0.18 sec)
Query OK, 0 rows affected (0.18 sec)
mysql> SHOW BINARY LOGS;
ERROR 1381 (HY000): You are not using binary logging
您能建议我缺少什么吗?您使用的是哪种RDS类型?如果您使用的是Aurora serverless,则无法启用Binlog。