docker安装mysql主从.txt
使用allen老师的hub镜像制作自己的mysql主从 --------- docker pull xiaochunping/mysql-master; docker pull xiaochunping/mysql-slave; -- cnetos docker run ,把my.cnf和data数据引入到属主机 ----------------- master配置文件/home/mysql/etc/master/master.cnf slave配置文件/home/mysql/etc/slave/slave.cnf mkdir -p /home/mysql/master-data mkdir
用户评论