Permalink
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
mariadb/conf/my.cnf
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
45 lines (41 sloc)
1.33 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# These groups are read by MariaDB server. | |
# Use it for options that only the server (but not clients) should see | |
# | |
# See the examples of server my.cnf files in /usr/share/mysql/ | |
# | |
# this is read by the standalone daemon and embedded servers | |
[server] | |
# this is only for the mysqld standalone daemon | |
[mysqld] | |
skip-character-set-client-handshake | |
datadir=/var/lib/mysqlmounted | |
socket=/var/lib/mysql/mysql.sock | |
character-set-server=utf8 | |
#default-character-set=utf8 | |
collation-server=utf8_bin | |
#collation-server=utf8_general_ci | |
init-connect='SET NAMES utf8' | |
log-error=/var/log/mariadb/mariadb.log | |
pid-file=/var/run/mariadb/mariadb.pid | |
# this is only for embedded server | |
[embedded] | |
# This group is only read by MariaDB-5.5 servers. | |
# If you use the same .cnf file for MariaDB of different versions, | |
# use this group for options that older servers don't understand | |
[mysqld-5.5] | |
# These two groups are only read by MariaDB servers, not by MySQL. | |
# If you use the same .cnf file for MySQL and MariaDB, | |
# you can put MariaDB-only options here | |
[mariadb] | |
collation-server = utf8_bin | |
#collation-server = utf8_general_ci | |
init-connect='SET NAMES utf8' | |
#default-character-set = utf8 | |
character-set-server = utf8 | |
[mariadb-5.5] | |
collation-server = utf8_bin | |
#collation-server = utf8_general_ci | |
init-connect='SET NAMES utf8' | |
#default-character-set = utf8 | |
character-set-server = utf8 |