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

sql_mode not set correctly in mysql docker image #3

Open
00Asgaroth00 opened this issue Mar 13, 2019 · 0 comments
Open

sql_mode not set correctly in mysql docker image #3

00Asgaroth00 opened this issue Mar 13, 2019 · 0 comments

Comments

@00Asgaroth00
Copy link

When you don't set

echo "sql_mode=\"\"" >> /etc/mysql/mysql.conf.d/mysqld.cnf

For the docker mysql container, then you end up with the following types of errors:

[Wed Mar 13 12:39:23.088288 2019] [:error] [pid 16] [client 172.16.17.5:55641] Query failed by reason : Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'ministra.video.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by (SELECT *\nFROM (video)\nGROUP BY year\nORDER BY year ASC), referer: http://docker:880/stalker_portal/server/adm/
[Wed Mar 13 12:39:23.088715 2019] [:error] [pid 16] [client 172.16.17.5:55641] Query failed by reason : Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'ministra.video.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by (SELECT *\nFROM (video)\nGROUP BY year\nORDER BY year ASC), referer: http://docker:880/stalker_portal/server/adm/
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