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

Issue with mysql 5.7 running with sql_mode=only_full_group_by (temporary workaround) #20

stripthis opened this Issue Sep 21, 2016 · 1 comment


None yet
2 participants

stripthis commented Sep 21, 2016

Currently passbolt permissions views are not SQL99 compliant and triggering the following errors when mysql sql_mode contains only_full_group_by (a default setting since 5.7):

[PDOException] SQLSTATE[42000]: Syntax error or access violation: 1140 In aggregated query without GROUP BY, expression #2 of SELECT list contains nonaggregated column 'UserResourcePermission.permission_id'; this is incompat\
ible with sql_mode=only_full_group_by

In order to run passbolt on mysql5.7 you will still need to disable the sql_mode only_full_group_by with for example the following command:


This is a temporary workaround, we’ll try to address this in a future release.
ref. PASSBOLT-1646


This comment has been minimized.

Show comment
Hide comment

cedricalfonsi Feb 16, 2017


Fixed with v1.4.0


cedricalfonsi commented Feb 16, 2017

Fixed with v1.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment