I'm install MySql on my OsX 10.11 El Capitan. If I try to start my query I have a strange error if my query have Group By.
So if I try to execute this query from Terminal:
SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
I can execute my query never problem. Now if I try to re-start my macbook, I have the some problem and I can re-execute the query.
There is any way to fix this sql_mode permanently ?
I have tro to open "etc/mysql/my.cnf" file but there isn't this file on my mac. How can I apply this change ?