问一下老师我的配置文件如下,是按照视频课配置的。现在是主库可以插入,但从库不同步。可能是什么问题
#数据源配置
spring.shardingsphere.datasource.names=primary-ds,replica-ds-0
spring.shardingsphere.datasource.common.type=com.zaxxer.hikari.HikariDataSource
spring.shardingsphere.datasource.common.driver-class-name=com.mysql.jdbc.Driver
spring.shardingsphere.datasource.common.username=root
spring.shardingsphere.datasource.common.password=14529f1e73f9
spring.shardingsphere.datasource.primary-ds.jdbc-url=jdbc:mysql://124.70.136.139:3307/ds0?serverTimezone=UTC&useSSL=false&useUnicode=true&characterEncoding=UTF-8
spring.shardingsphere.datasource.replica-ds-0.jdbc-url=jdbc:mysql://124.70.136.139:3308/ds0?serverTimezone=UTC&useSSL=false&useUnicode=true&characterEncoding=UTF-8
spring.shardingsphere.rules.read-write-splitting.data-sources.pr_ds.write-data-source-name=primary-ds
spring.shardingsphere.rules.read-write-splitting.data-sources.pr_ds.read-data-source-names=replica-ds-0
spring.shardingsphere.rules.read-write-splitting.data-sources.pr_ds.load-balancer-name=round-robin
spring.shardingsphere.rules.read-write-splitting.load-balancers.round-bin.type=ROUND_ROBIN
spring.shardingsphere.rules.read-write-splitting.load-balancers.round-bin.props.default=0
spring.shardingsphere.props.sql-show=true