Debezium报错处理系列之六十九:Cant compare binlog filenames with different base names 一、完整报错二、错误原因三、解决方法Debezium报错处理系列一:The db history topic is missing. Debezium报错处理系列二:Make sure that the same history topic isn‘t shared b…
1、登录到mysql查看binlog 只查看第一个binlog文件的内容 mysql> show binlog events; 查看指定binlog文件的内容 mysql> show binlog events in mysql-bin.000002; mysql> show binlog events in mysql-bin.000001; -------------------------------------------…
centos7准备两台机器:192.168.131.101,192.168.131.102 mysql8安装 主节点: 创建一个账户专门用于同步主从数据,赋权限
CREATE USER slave% IDENTIFIED BY slave;
GRANT REPLICATION SLAVE ON *.* To slave% WITH GRANT OPTIO…
日志文件
查看错误日志
show variables like %log_error%查看通用查询日志
show variables like %general%二进制日志binary log 记录执行的更改操作
show variables like %log_bin%;//是否开启
show variables like binlog ;//参数查看
show binary logs; //查看日志文件慢…