Skip to content

Instantly share code, notes, and snippets.

@ponkotuy
Created March 19, 2015 17:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ponkotuy/2fd3d931bda76d1542f0 to your computer and use it in GitHub Desktop.
Save ponkotuy/2fd3d931bda76d1542f0 to your computer and use it in GitHub Desktop.
MariaDB UTF-8
# MariaDB-specific config file.
# Read by /etc/mysql/my.cnf
[client]
# Default is Latin1, if you need UTF-8 set this (also in server section)
default-character-set = utf8
[mysqld]
#
# * Character sets
#
# Default is Latin1, if you need UTF-8 set all this (also in client section)
#
character-set-server = utf8
collation-server = utf8_general_ci
character_set_server = utf8
collation_server = utf8_general_ci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment