Disable ONLY_FULL_GROUP_BY

后端 未结 27 1312
既然无缘
既然无缘 2020-11-22 00:22

I accidentally enabled ONLY_FULL_GROUP_BY mode like this:

SET sql_mode = \'ONLY_FULL_GROUP_BY\';

How do I disable it?

27条回答
  •  既然无缘
    2020-11-22 00:54

    Here is my solution changing the Mysql configuration through the phpmyadmin dashboard:

    In order to fix "this is incompatible with sql_mode=only_full_group_by": Open phpmyadmin and goto Home Page and select 'Variables' submenu. Scroll down to find sql mode. Edit sql mode and remove 'ONLY_FULL_GROUP_BY' Save it.

提交回复
热议问题