From 6ce73798d755c584c55262a4d8d79ecf45b0e343 Mon Sep 17 00:00:00 2001 From: Panna ABDUL HAKIM - Adaltas Date: Mon, 13 May 2024 15:36:28 +0200 Subject: [PATCH] fix(db): docker re-added the command field --- packages/db/env/mysql/docker-compose.yml | 2 ++ packages/db/env/mysql/entrypoint.sh | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/db/env/mysql/docker-compose.yml b/packages/db/env/mysql/docker-compose.yml index e22bbd626..2896409ad 100644 --- a/packages/db/env/mysql/docker-compose.yml +++ b/packages/db/env/mysql/docker-compose.yml @@ -3,6 +3,8 @@ services: nodejs: build: . container_name: nikita_db_mysql_nodejs + # To avoid an error in the latest versions: ERROR 2059 (HY000): Authentication plugin 'caching_sha2_password' cannot be loaded + command: --default-authentication-plugin=caching_sha2_password depends_on: mysql: condition: service_healthy diff --git a/packages/db/env/mysql/entrypoint.sh b/packages/db/env/mysql/entrypoint.sh index 12cca174b..614631643 100755 --- a/packages/db/env/mysql/entrypoint.sh +++ b/packages/db/env/mysql/entrypoint.sh @@ -5,7 +5,6 @@ # command that fails is part of the command list immediately following a while # or until keyword" # set -e - # Source Node.js . ~/.bashrc # Start ssh daemon