Fix replication server_id already in use

This commit is contained in:
Laurent Indermuehle 2023-01-04 17:13:57 +01:00
parent c3458f4823
commit 1e03a259fb
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09

View file

@ -100,6 +100,8 @@ jobs:
MYSQL_ROOT_PASSWORD: msandbox MYSQL_ROOT_PASSWORD: msandbox
ports: ports:
- 3308:3306 - 3308:3306
options: >-
--server_id 2
db_replica2: db_replica2:
image: ${{ matrix.db_engine_version }} image: ${{ matrix.db_engine_version }}
@ -108,6 +110,8 @@ jobs:
MYSQL_ROOT_PASSWORD: msandbox MYSQL_ROOT_PASSWORD: msandbox
ports: ports:
- 3309:3306 - 3309:3306
options: >-
--server_id 3
steps: steps:
- name: 'Wait 20s for the service containers to be healthy' - name: 'Wait 20s for the service containers to be healthy'