The other values STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION are the default ones for our local mysql server, but I would like to run SELECT @@sql_mode; on all the environments and make sure that we configure all the environments the same way including local.
This typeorm query:
was turned into this:
I have just removed the useless selected columns to retrieve only the![image](https://github.com/alkem-io/server/assets/16032487/47478f37-fc0b-40f1-96f1-f885ad706e2b)
SUM(size)
.Has been difficult to reproduce in localhost, because we don't have
ONLY_FULL_GROUP_BY
enabled in our local mysql container.I have tried to enable it with this command:
but that was not enough - not sure why -
SELECT @@sql_mode;
was still the same.- ./mysql-custom-config:/etc/mysql/conf.d
server/mysql-custom-config
The other values
STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
are the default ones for our local mysql server, but I would like to runSELECT @@sql_mode;
on all the environments and make sure that we configure all the environments the same way including local.