You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error occurs when loading the dashboard on instances using MySQL 5.7+. By default, MySQL 5.7+ has disabled the ability to include columns in the SELECT clause that are not also in the GROUP BY clause.
The bug should be easy to fix and will be included in an upcoming release, but you can use the following workaround in the meantime.
Log into MySQL as root
Execute the following statement
mysql> show variables like '%sql_mode%';
+---------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| Variable_name | Value |
+---------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| sql_mode | ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION |
+---------------+-------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
Copy the value removing ONLY_FULL_GROUP_BY
Edit /etc/mysql/mysql.cnf
Paste sql_mode value without ONLY_FULL_GROUP_BY to the bottom of the file
This error occurs when loading the dashboard on instances using MySQL 5.7+. By default, MySQL 5.7+ has disabled the ability to include columns in the SELECT clause that are not also in the GROUP BY clause.
https://stackoverflow.com/questions/48147294/error-sqlexceptionhelper146-expression-7-of-select-list-is-not-in-group-by-c
The bug should be easy to fix and will be included in an upcoming release, but you can use the following workaround in the meantime.
ONLY_FULL_GROUP_BY
sql_mode
value withoutONLY_FULL_GROUP_BY
to the bottom of the fileThe text was updated successfully, but these errors were encountered: