当前位置:网站首页>解决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、重新运行项目,即可显示运行正常。
边栏推荐
- Android 隐私沙盒开发者预览版 3: 隐私安全和个性化体验全都要
- OpenGL - Lighting
- Tutorial on building a framework for middle office business system
- Nips2021 | new SOTA for node classification beyond graphcl, gnn+ comparative learning
- 一篇文章带你走进cookie,session,Token的世界
- STM32 simple multi-level menu (array table lookup method)
- Applet customization component
- 一次 Keepalived 高可用的事故,让我重学了一遍它
- 【对象数组的排序】
- [team PK competition] the task of this week has been opened | question answering challenge to consolidate the knowledge of commodity details
猜你喜欢

C language - input array two-dimensional array a from the keyboard, and put 3 in a × 5. The elements in the third column of the matrix are moved to the left to the 0 column, and the element rows in ea

OpenGL - Model Loading

What should we pay attention to when entering the community e-commerce business?

正式上架!TDengine 插件入驻 Grafana 官网

TDengine 已经支持工业英特尔 边缘洞见软件包

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

How to empty uploaded attachments with components encapsulated by El upload

SMT32H7系列DMA和DMAMUX的一点理解

Applet network data request

顶会论文看图对比学习(GNN+CL)研究趋势
随机推荐
C # draw Bezier curve with control points for lattice images and vector graphics
Kotlin introductory notes (V) classes and objects, inheritance, constructors
Cloud computing technology hotspot
Kotlin introductory notes (VIII) collection and traversal
Can't find the activitymainbinding class? The pit I stepped on when I just learned databinding
一篇文章带你走进cookie,session,Token的世界
Progressive JPEG pictures and related
【sourceTree配置SSH及使用】
2310. The number of bits is the sum of integers of K
MySQL installation configuration and creation of databases and tables
OpenGL - Coordinate Systems
[Yugong series] go teaching course 003-ide installation and basic use in July 2022
Unity SKFramework框架(二十三)、MiniMap 小地图工具
Talking about the difference between unittest and pytest
[ctfhub] Title cookie:hello guest only admin can get flag. (cookie spoofing, authentication, forgery)
Newton iterative method (solving nonlinear equations)
阿里十年测试带你走进APP测试的世界
微信小程序获取住户地区信息
Principle and performance analysis of lepton lossless compression
Android privacy sandbox developer preview 3: privacy, security and personalized experience