Mysql基础——主从MySQL手动同步
摘要:
mysql 主从数据同步失败手动同步数据的方法 进入master执行 1、锁表 flush tables with read lock; 2、导出备份数据 mysqldump -u root -p test1 > /tmp/mysql.sql 3、查看主库状态记录偏移量position的值 show 阅读全文
posted @ 2024-12-05 10:50 gkhost 阅读(47) 评论(0) 推荐(0)
浙公网安备 33010602011771号