-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathmy.cnf
More file actions
25 lines (23 loc) · 839 Bytes
/
my.cnf
File metadata and controls
25 lines (23 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# The MariaDB configuration file
#
# The MariaDB/MySQL tools read configuration files in the following order:
# 0. "/etc/mysql/my.cnf"
# 1. "/etc/mysql/mariadb.cnf" to set global defaults,
# 2. "/etc/mysql/conf.d/*.cnf" to set global options.
# 3. "/etc/mysql/mariadb.conf.d/*.cnf" to set MariaDB-only options.
# 4. "~/.my.cnf" (this file) to set user-specific options.
#
#
# This group is read both by the client and the server
# use it for options that affect everything
#
[client-server]
# Import all .cnf files from configuration directory
[mariadbd]
collation-server = utf8_unicode_ci
init-connect = 'SET NAMES utf8'
character_set_server = utf8
# Enable hostname resolution for user authentication (fixes ranger-db user issue)
skip-name-resolve = 0
# transaction-isolation = REPEATABLE-READ
# transaction-isolation = READ-COMMITTED