Skip to content
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

MySQL 5.7 breaks WAD Collector #20

Open
asch99 opened this issue Jan 30, 2017 · 0 comments
Open

MySQL 5.7 breaks WAD Collector #20

asch99 opened this issue Jan 30, 2017 · 0 comments

Comments

@asch99
Copy link
Collaborator

asch99 commented Jan 30, 2017

MySQL 5.7 sets the flag ONLY_FULL_GROUP_BY in sql mode. This breaks parts of the web interface, but also the WAD Collector and possibly other WAD Services. Ideally the afflicted services and parts of the interface should be fixed.

Alternatively the ONLY_FULL_GROUP_BY can be disabled. On Ubuntu 16 this can be done by editing /etc/mysql/my.cnf. In my case the needed changes are the following additions at the end of the file:
[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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant