Closed giangi closed 8 years ago
Thanks for your bug report, unfortunately so far I don't see any good solution to be compatible for old and new mysql :-( because ANY_VALUE doesn't exists in the <= 5.6. As a workaround we can recommend to disable ONLY_FULL_GROUP_BY support in the my.cnf.
references: http://johnemb.blogspot.de/2014/09/adding-or-removing-individual-sql-modes.html
Hello,
I just noticed, by checking why useragent statistics did not seem to be displayed, that current APIs for usergent statistics use a query not compatible with recent changes in MySQL's default sql_mode (see https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html, https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sql-mode-changes). Specifically, I have (from
ngrep
)It may be nice to see if at least the suggested configuration for MySQL can include a proper
sql-mode
override (removingONLY_FULL_GROUP_BY
, or if future API changes can take into account these "strict" modes.