Skip to content

Commit

Permalink
Set server_id=1 for mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
adangel committed Oct 5, 2023
1 parent 30ba744 commit 58697ac
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,14 @@
<env>
<MYSQL_ROOT_PASSWORD>${config_password}</MYSQL_ROOT_PASSWORD>
</env>
<cmd>
<exec>
<!-- set server_id to 1 for mysql 5.7 and percona-toolkit 3.5.5, see https://jira.percona.com/browse/PT-2268
Note: mysql 8.0 and mariadb use by default server_id=1, only mysql 5.7 uses server_id=0 as default.
-->
<arg>--server-id=1</arg>
</exec>
</cmd>
<containerNamePattern>%a</containerNamePattern>
<network>
<mode>bridge</mode>
Expand Down

0 comments on commit 58697ac

Please sign in to comment.