1SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
2SET SESSION sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
1mysql > SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
1mysql > SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
2
1'connections' => [
2...
3
4 'mysql' => [
5 ...
6 'strict' => false,
7 ...
8
9 ],
10
11]
1check this article for solved this issue
2
3https://afrijaldzuhri.com/mengatasi-error-group-by-di-mysql/