摘要: mycat是一个基于JVM的mysql读写分离的中间件,实现对mysql的读写分离。用前先确定机器上装有JDK。1.下载安装 2.配置文件 schema.xml修改 3.配置文件 server.xml修改 4.启动 5.JAVA程序中application... 阅读全文
posted @ 2020-09-12 10:46 jasmineTang 阅读(122) 评论(0) 推荐(0)
摘要: 1.设置master和slaves 2.主机配置文件 3.从机配置文件 1.设置master和slaves server-id修改的配置文件主从配置 IP PC1-centos-57master100/etc/my.cnfmaster-OK ... 阅读全文
posted @ 2020-09-12 10:21 jasmineTang 阅读(64) 评论(0) 推荐(0)