Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save koladilip/b5429eb96c56c22a0089922ecd2c72be to your computer and use it in GitHub Desktop.
Save koladilip/b5429eb96c56c22a0089922ecd2c72be to your computer and use it in GitHub Desktop.
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