I created a free MySql db to connect to my python flask app. However I cannot run a query because ‘sql_mode=only_full_group_by’ is turned on. How do i turn this feature permanently?
I have checked the advanced settings option on my db and this option is not present. Please find below the actual error log generated by my app:
" pymysql.err.OperationalError: (1140, “In aggregated query without GROUP BY, expression #1 of SELECT list contains nonaggregated column ‘defaultdb.case_header.caseid’; this is incompatible with sql_mode=only_full_group_by”) "