[mysqld]
bind-address=0.0.0.0
port=3306
user=mysql
lower_case_table_names=1
basedir=/usr/local/mysql
datadir=/usr/local/mysql/data
socket=/tmp/mysql.sock
log-error=/data/mysql/mysql.err
pid-file=/data/mysql/mysql.pid
#character config
character_set_server=utf8mb4
symbolic-links=0
linux 安装 mysql 配置my.cnf文件
最新推荐文章于 2024-06-13 10:09:38 发布