Created
November 24, 2019 21:33
-
-
Save wapcrazut/90656fc2f0be83cc7a401d4f335fb6f2 to your computer and use it in GitHub Desktop.
Disable SQL ONLY_FULL_GROUP_BY in Doctrine (Symfony)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
doctrine: | |
dbal: | |
driver: pdo_mysql | |
host: "%database_host%" | |
port: "%database_port%" | |
dbname: "%database_name%" | |
user: "%database_user%" | |
password: "%database_password%" | |
charset: UTF8 | |
options: | |
1002: 'SET sql_mode=(SELECT REPLACE(@@sql_mode, "ONLY_FULL_GROUP_BY", ""))' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment