Created
June 21, 2018 06:32
-
-
Save koladilip/b5429eb96c56c22a0089922ecd2c72be to your computer and use it in GitHub Desktop.
This is adds custom parameter group to RDS MySQL instance: https://medium.com/tensult/cross-account-and-cross-region-rds-mysql-db-replication-part-1-55d307c7ae65
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws rds create-db-parameter-group --db-parameter-group-name replication --db-parameter-group-family MySQL5.7 --description "My DB params for replication" | |
aws rds modify-db-parameter-group --db-parameter-group-name mydbparametergroup --parameters "ParameterName=binlog_format,ParameterValue=ROW,ApplyMethod=immediate" | |
aws rds modify-db-instance --db-instance-identifier myMasterDBInstance --db-parameter-group-name replication | |
# Wait for sometime so that instance finish modification and then reboot the instance. | |
aws rds reboot-db-instance --db-instance-identifier myMasterDBInstance |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment