Commit e6ade2be authored by Otto Kekäläinen's avatar Otto Kekäläinen
Browse files

Switch to utf8mb4 as default character set.

This applies only for new databases and tables, so should be safe.
WordPress and many other apps already assume utf8mb4 as the default.
parent 2ddd8d78
[client] [client]
# Default is Latin1, if you need UTF-8 set this (also in server section) # Default is Latin1, if you need UTF-8 set this (also in server section)
default-character-set = utf8 default-character-set = utf8mb4
[mysql]
default-character-set = utf8mb4
...@@ -85,12 +85,15 @@ max_binlog_size = 100M ...@@ -85,12 +85,15 @@ max_binlog_size = 100M
# #
# * Character sets # * Character sets
# #
# Default is Latin1, if you need UTF-8 set all this (also in client section) # MySQL/MariaDB default is Latin1, but in Debian we rather default to the full
# # utf8 4-bit character set. See also client.cnf
character-set-server = utf8 #
collation-server = utf8_general_ci character-set-server = utf8mb4
character_set_server = utf8 collation-server = utf8mb4_general_ci
collation_server = utf8_general_ci character_set_server = utf8mb4
collation_server = utf8mb4_general_ci
init-connect='SET NAMES utf8mb4'
# #
# * Unix socket authentication plugin # * Unix socket authentication plugin
......
...@@ -3,6 +3,7 @@ mariadb-10.0 (10.0.20-2) unstable; urgency=low ...@@ -3,6 +3,7 @@ mariadb-10.0 (10.0.20-2) unstable; urgency=low
* Fix bash test logic in postinstall (Closes: #789589) * Fix bash test logic in postinstall (Closes: #789589)
* Add extra sort in d/rules mysqld.sym.gz command to satisfy Debian * Add extra sort in d/rules mysqld.sym.gz command to satisfy Debian
reproducible build requirements reproducible build requirements
* Switch to utf8mb4 as default character set
-- Otto Kekäläinen <otto@seravo.fi> Fri, 03 Jul 2015 17:11:01 +0300 -- Otto Kekäläinen <otto@seravo.fi> Fri, 03 Jul 2015 17:11:01 +0300
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment