To allow multi-byte characters (e.g., emojis) to be written to various columns, I'm using SET NAMES utf8mb4; to set the character set and various other server settings for a GCP CloudSQL instance.
The issue is that the setting is not permanent if I run it as a SQL command. How can I make it permanent (even on restart of the instance)? I have set one flag (character_set_server), but that wasn't enough. Do I need to add a bunch of flags?