From c75f3cf2b186f04e2b8addba1a3239c0073d7d05 Mon Sep 17 00:00:00 2001 From: Ivan Hrekov Date: Tue, 19 Aug 2025 10:54:42 +0200 Subject: [PATCH] fix: Change MySQL port to 33066 Resolves: https://github.com/rails/solid_queue/issues/528 In order to avoid conflict with MySQL Protocol X, the port was changed to `33066`. The change was tested locally by running `docker compose up` --- .github/workflows/main.yml | 2 +- docker-compose.yml | 2 +- test/dummy/config/database.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 32dd5acf..ee317c18 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,7 +41,7 @@ jobs: env: MYSQL_ALLOW_EMPTY_PASSWORD: "yes" ports: - - 33060:3306 + - 33066:3306 options: --health-cmd "mysql -h localhost -e \"select now()\"" --health-interval 1s --health-timeout 5s --health-retries 30 postgres: image: postgres:15.1 diff --git a/docker-compose.yml b/docker-compose.yml index a102a5e6..b138c7d6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: MYSQL_ALLOW_EMPTY_PASSWORD: "yes" volumes: - db:/var/lib/mysql - ports: [ "127.0.0.1:33060:3306" ] + ports: [ "127.0.0.1:33066:3306" ] postgres: image: postgres:15.1 environment: diff --git a/test/dummy/config/database.yml b/test/dummy/config/database.yml index 95a086c5..22c76385 100644 --- a/test/dummy/config/database.yml +++ b/test/dummy/config/database.yml @@ -33,7 +33,7 @@ default: &default username: root pool: 20 host: "127.0.0.1" - port: 33060 + port: 33066 <% end %> development: