I am using latest vitess v6.0.20-20200508 and MySQL version 5.7. Without updating the MySQL version I want remove "ONLY_FULL_GROUP_BY" from sql_mode. Can anyone please help me? I tried with
SET global sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY,',''));
in the vttablet, But it is not updating sql_mode. I want to set it while starting sql server. I have also tried in vttablet-up.sh file by adding the
SET global sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY,',''));
But it is still not updating sql_mode. Please help!
Thank You