2021
01-12
01-12
mysql容器之间的replication配置实例详解
背景上周公司培训了MySQLreplication,这个周末打算用所学来实践操作一下。Masterserver:MySQLcontainermysql_masteronNASNASserverIP:192.168.1.108mysql_masterinnerip:172.17.0.6Slaveserver:MySQKcontainermysql_slaveonMacminiMacminidockerhostIP:192.168.1.139mysql_slaveinnerip:172.17.0.2准备MySQLcontainer准备mysql_master创建两个目录用来存放MySQL文件mkdir-p/mnt/md1/d...
继续阅读 >