Skip to content

Instantly share code, notes, and snippets.

@lostsnow
Forked from haitaoyao/binlog_time.sql
Created January 19, 2024 07:46
Show Gist options
  • Save lostsnow/9315eac420164c55add9576085499428 to your computer and use it in GitHub Desktop.
Save lostsnow/9315eac420164c55add9576085499428 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