Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (38 sloc) 949 Bytes
## 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
#
#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