-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQL Mode requirement not documented #1547
Comments
It seems that the Vagrant SQL is 5.5.46, which works fine, but 5.7.16 changes the way GROUP BY clauses work: http://craftcms.stackexchange.com/questions/12084/getting-this-sql-error-group-by-incompatible-with-sql-mode-only-full-group-by one solution is to set the global sql mode
|
20 SET sql_mode=(SELECT CONCAT(@@sql_mode,',<mode_to_add>')); SET sql_mode=(SELECT REPLACE(@@sql_mode,'<mode_to_remove>','')); SET sql_mode=(SELECT REPLACE(@@sql_mode, 'ONLY_FULL_GROUP_BY', '')); |
This Sort of relates to https://github.com/ChurchCRM/VagrantBox/issues/5 - We don't get the error in testing because we're testing with old software. |
I think this is here: propelorm/Propel2#1129 |
See #2380 |
SQL mode must not contain
ONLY_FULL_GROUP_BY
The text was updated successfully, but these errors were encountered: