1、用于主从复制。在主从结构中,binlog作为操作记录从master发送到slave,slave服务器从master收到的日志保存在relaylog中。2、用于数据备份。数据库备份文件生成后,bin...