Cannot remove only_full_group_by from sql_mode #304
-
I'm trying to migrate from a self-hosted database to PlanetScale. We use Objection.JS extensively throughout our app. When trying to retrieve data, I get the following error:
I have tried to remove
However, none of the commands work. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You are pretty close with what you shared above! The only issue is that you are unable to changes things using the Just remove that and you should be set! You can only change the I hope this helps! |
Beta Was this translation helpful? Give feedback.
@anthonyma94,
You are pretty close with what you shared above! The only issue is that you are unable to changes things using the
GLOBAL
keyword.Just remove that and you should be set!
You can only change the
sql_mode
for the connection/session so it has to be changed for any connections where you will need that behavior removed.I hope this helps!