mycat跟踪分析

mycat版本1.6

192.168.5.66 从

192.168.5.67主

 

一个user表

 

 

验证主从

log4j2修改日志level为debug

 

schema.xml配置

 

 

启动服务,打开日志tail -f mycat.log

 

查询操作 select * from user;

 

数据修改操作 insert into user values(NULL, 'sdfsf');

 

sql被正确的分发了

 

posted @ 2018-09-03 15:28  lin_0110  阅读(438)  评论(0编辑  收藏  举报