设置日志格式为row
创建数据库和表
mysql> create database chinasoft charset=utf8mb4;
mysql> use chinasoft;
mysql> create table student(id int primary key,name varchar(100));
插入数据
insert into student(id,name) values(1,’tom’),(2,’jack’);
查看日志
Mixed模式
查看日志
show master logs;
show binlog events in 'mysql_bin.000002';
Server_uuid