Stopping binary log replication for Aurora MySQL
To stop binary log replication with a MySQL DB instance, external MySQL database, or another Aurora DB cluster, follow these steps, discussed in detail following in this topic.
1. Stop binary log replication on the replica target
2. Turn off binary logging on the replication source
1. Stop binary log replication on the replica target
Use the following instructions to stop binary log replication for your database engine.
Database engine | Instructions |
---|---|
Aurora MySQL |
To stop binary log replication on an Aurora MySQL DB cluster replica target Connect to the Aurora DB cluster that is the replica target, and call the mysql.rds_stop_replication procedure. |
RDS for MySQL |
To stop binary log replication on an Amazon RDS DB instance Connect to the RDS DB instance that is the replica target and call the mysql.rds_stop_replication procedure. |
MySQL (external) |
To stop binary log replication on an external MySQL database Connect to the MySQL database and run the |
2. Turn off binary logging on the replication source
Use the instructions in the following table to turn off binary logging on the replication source for your database engine.
Database engine | Instructions |
---|---|
Aurora MySQL |
To turn off binary logging on an Amazon Aurora DB cluster
|
RDS for MySQL |
To turn off binary logging on an Amazon RDS DB instance You can't turn off binary logging directly for an Amazon RDS DB instance, but you can turn it off by doing the following:
|
MySQL (external) |
To turn off binary logging on an external MySQL database Connect to the MySQL database and call the
|