I accidentally enabled ONLY_FULL_GROUP_BY mode like this:
(我不小心启用了ONLY_FULL_GROUP_BY模式,如下所示:)
SET sql_mode = 'ONLY_FULL_GROUP_BY';
How do I disable it?
(如何禁用它?)
ask by ZviBar translate from soI accidentally enabled ONLY_FULL_GROUP_BY mode like this:
(我不小心启用了ONLY_FULL_GROUP_BY模式,如下所示:)
SET sql_mode = 'ONLY_FULL_GROUP_BY';
How do I disable it?
(如何禁用它?)
ask by ZviBar translate from soSolution 1: Remove ONLY_FULL_GROUP_BY from mysql console
(解决方案1:从MySQL控制台删除ONLY_FULL_GROUP_BY)
mysql > SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
you can read more here
(你可以在这里阅读更多)
Solution 2: Remove ONLY_FULL_GROUP_BY from phpmyadmin
(解决方案2:从phpmyadmin中删除ONLY_FULL_GROUP_BY)