Error related to only_full_group_by when executing a query in MySql

前端 未结 18 2553
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-21 04:39

I have upgraded my system and have installed MySql 5.7.9 with php for a web application I am working on. I have a query that is dynamically created, and when run in older ve

18条回答
  •  再見小時候
    2020-11-21 04:48

    Go to mysql or phpmyadmin and select database then simply execute this query and it will work. Its working fine for me.

    SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
    

提交回复
热议问题