I have an application that runs on node.js and queries the database hosted on Azure MySQL server, I have encountered an error message during a query with group by
"...this is incompatible with sql_mode=only_full_group_by".
Subsequently, I have tried to change my SQL user privilege with
SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
but got an error message:
Error Code: 1227. Access denied; you need (at least one of) the SUPER or SYSTEM_VARIABLES_ADMIN privilege(s) for this operation