基本内容如下
[mysqld]
character-set-server=utf8#绑定IPv4和3306端口
bind-address = 0.0.0.0
port = 3306
# 设置mysql的安装目录
basedir=F:/test/mysql-5.7.19-winx64
# 设置mysql数据库的数据的存放目录
datadir=F:/test/mysql-5.7.19-winx64/data
# 允许最大连接数
max_connections=200
# skip_grant_tables
[mysql]
default-character-set=utf8
[mysql.server]
default-character-set=utf8
[mysql_safe]
default-character-set=utf8
[client]
default-character-set=utf8