Skip to content

Instantly share code, notes, and snippets.

@adamamyl
Created September 11, 2017 16:20
Show Gist options
  • Save adamamyl/d04d96488ae802b4b20b1dcb5ea3981b to your computer and use it in GitHub Desktop.
Save adamamyl/d04d96488ae802b4b20b1dcb5ea3981b to your computer and use it in GitHub Desktop.
utf8 for mysql
[client]
default-character-set = utf8mb4
[mysql]
default-character-set = utf8mb4
[mysqld]
character-set-client-handshake = FALSE
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci
init_connect='SET collation_connection = utf8mb4_unicode_ci;SET NAMES utf8mb4;SET time_zone = \'+00:00\';'
skip-character-set-client-handshake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment