LinuxMySQL读写分离
1)把mysql驱动包8.0.12复制到usr/local/mycat/lib下。9) 到bin执行./mycat start 或 console。-- 指定读主机 -->-- 指定写主机 -->-- 修改为你的数据库 -->-- 修改为你的数据库 -->5) 生效source /etc/profile。4) 生效source /etc/profile。8) 修改conf/schema.xml。4) 修改/etc/profile添加。3) 修改/etc/profile添加。



