Browse Source

mysql: fix unicode.cnf

https://mathiasbynens.be/notes/mysql-utf8mb4
remotes/blesmrt/master
Mikaela Suomalainen 4 years ago
parent
commit
73ffff658c
1 changed files with 10 additions and 3 deletions
  1. +10
    -3
      etc/mysql/conf.d/unicode.cnf

+ 10
- 3
etc/mysql/conf.d/unicode.cnf View File

@@ -1,4 +1,11 @@
[mysqld]
init-connect='SET NAMES utf8'
character-set-server=utf8
[client]
default-character-set = utf8mb4

[mysql]
default-character-set = utf8mb4

[mysqld]
init-connect='SET NAMES utf8mb4'
character-set-client-handshake = FALSE
character-set-server=utf8mb4
collation-server = utf8mb4_unicode_ci

Loading…
Cancel
Save