From e0cdb4c048310b856b6d5d1c24d8bf246e4a37e7 Mon Sep 17 00:00:00 2001 From: Joachim Wallsin Date: Tue, 6 Nov 2018 09:43:47 +0100 Subject: [PATCH] closes alextselegidis/easyappointments#557 Fixing connection issues to MySQL 8.0.4. --- docker-compose.prod.yml | 1 + docker-compose.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 712bedf4..252f8388 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -2,6 +2,7 @@ version: '2' services: database: image: mysql + command: mysqld --default-authentication-plugin=mysql_native_password environment: - MYSQL_ROOT_PASSWORD=${DB_PASSWORD} - MYSQL_DATABASE=${DB_NAME} diff --git a/docker-compose.yml b/docker-compose.yml index cdc03837..2e6f7c9f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,6 +2,7 @@ version: '2' services: database: image: mysql + command: mysqld --default-authentication-plugin=mysql_native_password environment: - MYSQL_ROOT_PASSWORD=veryhardpassword - MYSQL_DATABASE=easyapp