Skip to content

Instantly share code, notes, and snippets.

@MrWeb
Created October 13, 2019 07:20
Show Gist options
  • Save MrWeb/a5ec0513c583072c0e8e368bf9185455 to your computer and use it in GitHub Desktop.
Save MrWeb/a5ec0513c583072c0e8e368bf9185455 to your computer and use it in GitHub Desktop.
Fix nonaggregated MySQL GROUP BY local machine
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