Skip to content

How to change sql mode in Planetscale? #588

Answered by jgreet
Rave2407 asked this question in Q&A
Discussion options

You must be logged in to vote

You'll have to change the SQL mode in every client session that's going to execute that query.

So if it's a common query you'll probably want to disable the ONLY_FULL_GROUP_BY mode in every connection, right after it's established. Alternatively, you could disable the ONLY_FULL_GROUP_BY mode right before executing the affected query.

See also #375

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mscoutermarsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants