mysql+mycat+centos7

1.安装centos

2.配置网络 /etc/sysconfig/network-scrips/ 修改网卡配置文件

3.安装jdk 配置环境变量

4.安装mysql5.7 配置主从复制

5.开启防火墙端口 navicat连接mysql

6.安装mycat 配置server.xml schema.xml

处理方案:
在mycat/conf/wrapper.conf 下增加:
wrapper.java.command=java安装目录/bin/java

7.开启mycat 读写分离

原文地址:https://www.cnblogs.com/lvshuizhicheng/p/14508956.html