my.cnf

作者: linson0116 | 来源:发表于2020-04-24 10:01 被阅读0次

chmod 777 my.cnf

[client]
default-character-set = utf8mb4

[mysql]
default-character-set = utf8mb4

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
character-set-client-handshake = FALSE
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

chmod 644 my.cnf

相关文章

网友评论

      本文标题:my.cnf

      本文链接:https://www.haomeiwen.com/subject/wlsxwhtx.html