一、定义 二、基本操作 1.查看是否开启binlog: MySQL [db_test1]> show variables like '%log_bin%'; +---------------------------------+-------------------------------------------------+ | Variable_name | Value | +---------------------------------+--------------