Skip to main content

Set character_set_system on startup?

Comments

4 comments

  • cPRex Jurassic Moderator
    Hey there! You would add this to the /etc/my.cnf file, although the formatting will need to be different. You'll use: default-character-set=utf8mb4 in that file, and then restart the MySQL service.
    0
  • Scott Galambos
    Hey there! You would add this to the /etc/my.cnf file, although the formatting will need to be different. You'll use: default-character-set=utf8mb4 in that file, and then restart the MySQL service.

    well, I don't think thats it. that sets the character_set_server and character_set_client when connecting. I'm sure its good enough, but the character_set_system is different. Its always utf8mb3 for me even know I have this in my.cnf: [client] default-character-set=utf8mb4 [mysql] default-character-set=utf8mb4
    0
  • cPRex Jurassic Moderator
    Thanks for the clarification. I looked at the MySQL documentation and it seems the "character_set_system" value cannot be changed:
    0
  • Scott Galambos
    Thanks for the clarification. I looked at the MySQL documentation and it seems the "character_set_system" value cannot be changed:
    ok, thanks!
    0

Please sign in to leave a comment.