Skip to content

Commit

Permalink
Adds instructions for MySQL 5.7+
Browse files Browse the repository at this point in the history
Currently, our SQL is incompatible with ONLY_FULL_GROUP_BY

Fixes #82
  • Loading branch information
Adrian Cole committed Mar 31, 2016
1 parent d7ad611 commit 2d2846c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zipkin-spanstores/jdbc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
```bash
# Barracuda supports compression (In AWS RDS, this must be assigned in a parameter group)
$ mysql -uroot -e "SET GLOBAL innodb_file_format=Barracuda"
# If using MySQL 5.7, you'll need to disable ONLY_FULL_GROUP_BY
$ mysql -uroot -e "SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''))"
# This command should work even in RDS, and return "Barracuda"
$ mysql -uroot -e "show global variables like 'innodb_file_format'"

Expand Down

0 comments on commit 2d2846c

Please sign in to comment.