参考帖子:https://www.cnblogs.com/winton-nfs/p/11524007.html#_caption_0
设置环境变量
写配置文件
[mysqld]
character-set-server=utf8mb4
bind-address=0.0.0.0
port=3306
default-storage-engine=INNODB
[mysql]
default-character-set=utf8mb4
[client]
default-character-set=utf8mb4