解决CannotGetJdbcConnectionException异常,正确的slave端口是3305。

This commit is contained in:
Jshen6 2019-05-31 15:17:52 +08:00
parent 600ce0509a
commit 55e03e2da6

View File

@ -11,7 +11,7 @@ services:
- MYSQL_MASTER_SERVICE_DB_NAME=nacos_devtest
- MYSQL_MASTER_SERVICE_PORT=3306
- MYSQL_SLAVE_SERVICE_HOST=mysql-slave
- MYSQL_SLAVE_SERVICE_PORT=3306
- MYSQL_SLAVE_SERVICE_PORT=3305
- MYSQL_MASTER_SERVICE_USER=nacos
- MYSQL_MASTER_SERVICE_PASSWORD=nacos
volumes: