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被正确的分发了

猜你喜欢

转载自www.cnblogs.com/seekwind/p/9578781.html