From a1913176d8a943c25e5b5a6701f54045ba6b419c Mon Sep 17 00:00:00 2001 From: "S.Yassine" <80557645+devbossma@users.noreply.github.com> Date: Sat, 18 May 2024 00:01:45 +0100 Subject: [PATCH] Update mysql-db service command inside mysql.yml file I found an issue with the command inside the mysql-db service. the provided command didn't allow the mysql-db service bootup so I replaced it with the ( ["mysqld", "--mysql-native-password=ON"] ) and the issue is gone. --- mysql.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mysql.yml b/mysql.yml index 4b12cab..55da9c7 100644 --- a/mysql.yml +++ b/mysql.yml @@ -6,7 +6,7 @@ services: image: mysql:latest container_name: mysql-db hostname: mysql-db - command: --default-authentication-plugin=mysql_native_password + command: ["mysqld", "--mysql-native-password=ON"] restart: always volumes: - ./databases:/usr/databases @@ -42,4 +42,4 @@ services: - ./databases:/home/jovyan/ ports: - 8888:8888 - restart: unless-stopped \ No newline at end of file + restart: unless-stopped