安全删除binlog、使用binlog恢复mysql数据

在数据库正常使用的时候,默认binlog会一直放在一个文件中(大约1.1G),因此导致一个文件非常大,因此在必要的时候可能需要删除一些binlog日志文件:

删除日志文件:文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/database/delete-restoration-log-bin/

方式一:


方式二:
文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/database/delete-restoration-log-bin/

恢复日志文件:

文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/database/delete-restoration-log-bin/

申明:本文由BYRD原创(基于Mysql5.6.16),未经许可禁止转载!文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/database/delete-restoration-log-bin/ 文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/database/delete-restoration-log-bin/

申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!

 
Byrd
  • by Published onJuly 19, 2014
  • 原文链接:https://note.t4x.org/database/delete-restoration-log-bin/
匿名

Comment

Anonymous

Slide puzzle verification.