Add MySQL version to the environment variables

The default version of MySQL is 5.7.22.

This change follows the change of MySQL for version 8 and the possible incompatibility with php and phpMyAdmin. see the links:

- https://bugs.php.net/bug.php?id=76243
- https://stackoverflow.com/questions/49948350/phpmyadmin-on-mysql-8-0
This commit is contained in:
Vincent Letourneau
2018-04-29 10:58:11 +02:00
parent b396e3beec
commit f73daed67b
2 changed files with 2 additions and 1 deletions

1
.env
View File

@@ -11,6 +11,7 @@ NGINX_HOST=localhost
PHP_VERSION=latest
# MySQL
MYSQL_VERSION=5.7.22
MYSQL_HOST=mysql
MYSQL_DATABASE=test
MYSQL_ROOT_USER=root