docker 安装mysql5.7
1.拉官方5.7的镜像docker pull mysql:5.72.在本地创建mysql映射文件夹mkdir -p /server/mysql/data /server/mysql/logs /server/mysql/conf3.在/server/mysql/conf中创建.cnf文件touch my.cnf3.5 my.cnf的内容如下[client] default-character-se
1.拉官方5.7的镜像docker pull mysql:5.72.在本地创建mysql映射文件夹mkdir -p /server/mysql/data /server/mysql/logs /server/mysql/conf3.在/server/mysql/conf中创建.cnf文件touch my.cnf3.5 my.cnf的内容如下[client] default-character-se