摘要: 全局锁: 这个一般是为了同步更新数据用的,既然是同步更新,就不能在同步的时候,有其他的操作。 开启全局锁 flush tables with read lock ; 数据备份 mysqldump -uroot –p1234 itcast > itcast.sql 释放锁 unlock tables 阅读全文
posted @ 2022-04-12 00:49 咖喱给给啊 阅读(68) 评论(0) 推荐(0)