docker下mysql停止主从同步

docker exec -it slave /bin/master mysql -uxym -p show databases; stop slave; //关键点,停止slave; 在主库添加数据       重启slave数据库
相关文章
相关标签/搜索