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