Created
October 13, 2019 07:20
-
-
Save MrWeb/a5ec0513c583072c0e8e368bf9185455 to your computer and use it in GitHub Desktop.
Fix nonaggregated MySQL GROUP BY local machine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql -uroot -e "SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment