2017-07-18 09:00:58 +00:00
|
|
|
# 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)
|
2017-07-31 10:21:51 +00:00
|
|
|
#default-character-set = utf8
|
2017-07-18 09:00:58 +00:00
|
|
|
|
|
|
|
[mysqld]
|
|
|
|
#
|
|
|
|
# * Character sets
|
2017-07-31 10:21:51 +00:00
|
|
|
#
|
2017-07-18 09:00:58 +00:00
|
|
|
# Default is Latin1, if you need UTF-8 set all this (also in client section)
|
|
|
|
#
|
2017-07-31 10:21:51 +00:00
|
|
|
#character-set-server = utf8
|
|
|
|
#collation-server = utf8_general_ci
|
|
|
|
#character_set_server = utf8
|
|
|
|
#collation_server = utf8_general_ci
|
2017-07-18 09:00:58 +00:00
|
|
|
# Import all .cnf files from configuration directory
|
2017-07-31 10:21:51 +00:00
|
|
|
bind-address = 0.0.0.0
|
2017-07-18 09:00:58 +00:00
|
|
|
!includedir /etc/mysql/mariadb.conf.d/
|
|
|
|
|
|
|
|
|
|
|
|
[mysqld]
|
|
|
|
innodb-file-format=barracuda
|
|
|
|
innodb-file-per-table=1
|
|
|
|
innodb-large-prefix=1
|
|
|
|
character-set-client-handshake = FALSE
|
|
|
|
character-set-server = utf8mb4
|
|
|
|
collation-server = utf8mb4_unicode_ci
|
|
|
|
|
|
|
|
[mysql]
|
|
|
|
default-character-set = utf8mb4
|