The raison d'être of package mariadb-common was to provide common my.cnf config file that was being used to include subdirectories and then to push utf-8 as default everywhere. Let's make this file part of the server package as there we actually set other options as well and drop it from all clients. Instead let's set utf-8 as default in server, client and client libraries. While at it also set socket to the more common path and drop mysqld_safe script from the list of configuration files and do other minor tweaks. Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
22 lines
758 B
INI
22 lines
758 B
INI
# The MariaDB configuration file
|
|
#
|
|
# The MariaDB/MySQL tools read configuration files in the following order:
|
|
# 1. "/etc/mysql/my.cnf" (this file) to set global defaults,
|
|
# 2. "/etc/mysql/conf.d/*.cnf" to set global options.
|
|
# 3. "~/.my.cnf" to set user-specific options.
|
|
#
|
|
# If the same option is defined multiple times, the last one will apply.
|
|
#
|
|
# One can use all long options that the program supports.
|
|
# Run program with --help to get a list of available options and with
|
|
# --print-defaults to see which it would actually understand and use.
|
|
|
|
#
|
|
# This group is read both both by the client and the server
|
|
# use it for options that affect everything
|
|
#
|
|
[client-server]
|
|
|
|
# Import all .cnf files from configuration directory
|
|
!includedir /etc/mysql/conf.d/
|
|
|