In order to run sql scripts which is not compatible with the sql_mode=only_full_group_by, we need to remove it from sql_mode.
Globally
mysql> SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
Logged Session only
mysql> SET SESSION sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
Comments
Post a Comment