Use mysql 5.7 with disabled option ONLY_FULL_GROUP_BY (which causes many problem to people)

This commit is contained in:
Dmitry Pupinin 2016-11-16 16:06:30 +07:00
parent d703c82c46
commit 6bbd1fbe19
2 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
FROM mysql:5.6
FROM mysql:5.7
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>

View File

@ -4,3 +4,6 @@
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html
[mysql]
[mysqld]
sql-mode="STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"