SpringBoot+Sharding-JDBC+读写分离使用 Spring Boot 整合 Sharding-JDBC 实现 MySQL 主从读写分离,附 Docker 搭建 MySQL 主从复制完整步骤。