Skip to content

Instantly share code, notes, and snippets.

@haitaoyao
Created November 4, 2016 05:33
Show Gist options
  • Save haitaoyao/4b01890b8a9368e490a667c83be1aef1 to your computer and use it in GitHub Desktop.
Save haitaoyao/4b01890b8a9368e490a667c83be1aef1 to your computer and use it in GitHub Desktop.
设置 AWS RDS binlog 保存时间
-- http://docs.aws.amazon.com/zh_cn/AmazonRDS/latest/UserGuide/USER_LogAccess.Concepts.MySQL.html
call mysql.rds_set_configuration('binlog retention hours', 24);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment