当前位置:网站首页>解决idea调试过程中liquibase – Waiting for changelog lock….导致数据库死锁问题
解决idea调试过程中liquibase – Waiting for changelog lock….导致数据库死锁问题
2022-07-05 09:28:00 【zch981964】
- 出现原因可能为idea运行时频繁,导致Jar包启动报错,工作流表部分日志表被锁,可能上次未正常终止程序导致的异常。
2021-02-14 13:45:13.735 [main] INFO liquibase - Waiting for changelog lock....
2021-02-14 13:45:23.739 [main] INFO liquibase - Waiting for changelog lock....
2021-02-14 13:45:33.744 [main] INFO liquibase - Waiting for changelog lock....
2021-02-14 13:45:43.750 [main] INFO liquibase - Waiting for changelog lock....
2021-02-14 13:45:53.755 [main] INFO liquibase - Waiting for changelog lock....
2021-02-14 13:46:03.762 [main] INFO liquibase - Waiting for changelog lock....
2021-02-14 13:46:13.767 [main] INFO liquibase - Waiting for changelog lock....
2021-02-14 13:46:23.773 [main] INFO liquibase - Waiting for changelog lock....
- 借鉴网上说是表被锁,解除锁定就行,可执行下面的语句,但是提示找不到表或试图不存在
#查询被锁的表
SELECT * FROM DATABASECHANGELOGLOCK;
#解除锁定
UPDATE DATABASECHANGELOGLOCK SET locked=0, lockgranted=null, lockedby=null WHERE id=1
- 解决办法(所有以DATABASECHANGELOGLOCK结尾的表都检查一遍,并修改locked字段的值为0即可,如:图2
4、重新运行项目,即可显示运行正常。
边栏推荐
- How to improve the operation efficiency of intra city distribution
- Kotlin introductory notes (V) classes and objects, inheritance, constructors
- What about wechat mall? 5 tips to clear your mind
- Vs code problem: the length of long lines can be configured through "editor.maxtokenizationlinelength"
- Progressive JPEG pictures and related
- Applet data attribute method
- MySQL does not take effect in sorting string types
- Node の MongoDB Driver
- Node collaboration and publishing
- Online chain offline integrated chain store e-commerce solution
猜你喜欢
百度交易中台之钱包系统架构浅析
Hosting environment API
C语言-从键盘输入数组二维数组a,将a中3×5矩阵中第3列的元素左移到第0列,第3列以后的每列元素行依次左移,原来左边的各列依次绕到右边
What should we pay attention to when developing B2C websites?
干货整理!ERP在制造业的发展趋势如何,看这一篇就够了
一文读懂TDengine的窗口查询功能
Applet network data request
Unity skframework framework (24), avatar controller third person control
Online chain offline integrated chain store e-commerce solution
How to choose the right chain management software?
随机推荐
Project practice | excel export function
顶会论文看图对比学习(GNN+CL)研究趋势
A detailed explanation of the general process and the latest research trends of map comparative learning (gnn+cl)
C # draw Bezier curve with control points for lattice images and vector graphics
一文读懂TDengine的窗口查询功能
[ManageEngine] how to make good use of the report function of OpManager
百度交易中台之钱包系统架构浅析
C # compare the differences between the two images
Alibaba's ten-year test brings you into the world of APP testing
[team PK competition] the task of this week has been opened | question answering challenge to consolidate the knowledge of commodity details
Dry goods sorting! How about the development trend of ERP in the manufacturing industry? It's enough to read this article
Svg optimization by svgo
Can't find the activitymainbinding class? The pit I stepped on when I just learned databinding
Unity SKFramework框架(二十三)、MiniMap 小地图工具
What should we pay attention to when entering the community e-commerce business?
Analysis of eventbus source code
How to choose the right chain management software?
【愚公系列】2022年7月 Go教学课程 003-IDE的安装和基本使用
[ctfhub] Title cookie:hello guest only admin can get flag. (cookie spoofing, authentication, forgery)
Cloud computing technology hotspot