当前位置:网站首页>解决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、重新运行项目,即可显示运行正常。
边栏推荐
- LeetCode 496. Next larger element I
- What about wechat mall? 5 tips to clear your mind
- Android 隐私沙盒开发者预览版 3: 隐私安全和个性化体验全都要
- [hungry dynamic table]
- [how to disable El table]
- 2309. The best English letters with both upper and lower case
- SQL learning alter add new field
- Kotlin introductory notes (VI) interface and function visibility modifiers
- Lepton 无损压缩原理及性能分析
- How to choose the right chain management software?
猜你喜欢

A keepalived high availability accident made me learn it again

基于模板配置的数据可视化平台

Priority queue (heap)

What should we pay attention to when developing B2C websites?

Wxml template syntax

Nips2021 | new SOTA for node classification beyond graphcl, gnn+ comparative learning

百度APP 基于Pipeline as Code的持续集成实践

Can't find the activitymainbinding class? The pit I stepped on when I just learned databinding
![[ManageEngine] how to make good use of the report function of OpManager](/img/15/dc15e638ae86d6cf1d5b989fe56611.jpg)
[ManageEngine] how to make good use of the report function of OpManager

Progressive JPEG pictures and related
随机推荐
The popularity of B2B2C continues to rise. What are the benefits of enterprises doing multi-user mall system?
Viewpager pageradapter notifydatasetchanged invalid problem
【阅读笔记】图对比学习 GNN+CL
Project practice | excel export function
Kotlin introductory notes (VII) data class and singleton class
OpenGL - Model Loading
Global configuration tabbar
H.265编码原理入门
一篇文章带你走进cookie,session,Token的世界
Lepton 无损压缩原理及性能分析
Applet customization component
Android privacy sandbox developer preview 3: privacy, security and personalized experience
正式上架!TDengine 插件入驻 Grafana 官网
Vs code problem: the length of long lines can be configured through "editor.maxtokenizationlinelength"
小程序启动性能优化实践
Applet global style configuration window
E-commerce apps are becoming more and more popular. What are the advantages of being an app?
[hungry dynamic table]
一文读懂TDengine的窗口查询功能
How to improve the operation efficiency of intra city distribution