Merge pull request #564 from CalvinMcGee/master

Fixing connection issues to MySQL 8.0.4
This commit is contained in:
Alex Tselegidis 2018-12-06 19:54:51 +01:00 committed by GitHub
commit ee24c7b8a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -2,6 +2,7 @@ version: '2'
services: services:
database: database:
image: mysql image: mysql
command: mysqld --default-authentication-plugin=mysql_native_password
environment: environment:
- MYSQL_ROOT_PASSWORD=${DB_PASSWORD} - MYSQL_ROOT_PASSWORD=${DB_PASSWORD}
- MYSQL_DATABASE=${DB_NAME} - MYSQL_DATABASE=${DB_NAME}

View file

@ -2,6 +2,7 @@ version: '2'
services: services:
database: database:
image: mysql image: mysql
command: mysqld --default-authentication-plugin=mysql_native_password
environment: environment:
- MYSQL_ROOT_PASSWORD=veryhardpassword - MYSQL_ROOT_PASSWORD=veryhardpassword
- MYSQL_DATABASE=easyapp - MYSQL_DATABASE=easyapp