Configuring Replication with RDS (MySQL/MariaDB)
Steps to configure Replication:
1. Create Replication User on Your MySQL Server
mysql> create user 'rep'@'%' identified by 'abcd1234';
mysql> grant replication slave on *.* to 'rep'@'%';
mysql> flush privileges;2. Check the Binary Log Status on Your DB Server
mysql> show variables like "log_bin";[mysqld]
log-bin=bin.log
log-bin-index=bin-log.index
max_binlog_size=100M
binlog_format=rowLast updated

