![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql
mysql
张哲溪
日拱一卒,功不唐捐
展开
-
数据库进程卡住解决
数据库进行卡住解决原创 2022-07-11 21:37:53 · 583 阅读 · 0 评论 -
mysqldump: Got error: 1556: “You can‘t use locks with log tables.“ when using LOCK TABLES
问题描述最近在备份mysql数据的时候,dump数据库的时候发现个报错:mysqldump: Got error: 1556: "You can't use locks with log tables." when using LOCK TABLES解决步骤:查了下是因为dump mysql库的时候,里面是有两个表锁。在mysqldump指令后添加--lock-tables=0即可。总结mysqldump备份默认会开启锁表的–opt默认开启的,这导致在备份大数据的时候会影响到线上业务.为了原创 2022-04-06 19:23:38 · 3183 阅读 · 0 评论