-
Notifications
You must be signed in to change notification settings - Fork 0
/
my.cnf
47 lines (40 loc) · 1006 Bytes
/
my.cnf
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
## For MySQL 5.7:
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
symbolic-links=0
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
character-set-server=utf8
skip-character-set-client-handshake
plugin-load=validate_password.so
validate-password=FORCE_PLUS_PERMANENT
validate_password_length=4
validate_password_mixed_case_count=0
validate_password_number_count=0
validate_password_policy=0
validate_password_special_char_count=0
[client]
default-character-set=utf8
## For MySQL 8.0:
#[mysqld]
#datadir=/var/lib/mysql
#socket=/var/lib/mysql/mysql.sock
#
#log-error=/var/log/mysqld.log
#pid-file=/var/run/mysqld/mysqld.pid
#
#character-set-server=utf8
#skip-character-set-client-handshake
#
#default_authentication_plugin = mysql_native_password
#
#validate_password.length=4
#validate_password.mixed_case_count=0
#validate_password.number_count=0
#validate_password.policy=0
#validate_password.special_char_count=0
#
#[client]
#default-character-set=utf8