当前位置:网站首页>解决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、重新运行项目,即可显示运行正常。
边栏推荐
- Alibaba's ten-year test brings you into the world of APP testing
- 22-07-04 Xi'an Shanghao housing project experience summary (01)
- The most comprehensive promotion strategy: online and offline promotion methods of E-commerce mall
- [Yugong series] go teaching course 003-ide installation and basic use in July 2022
- Kotlin introductory notes (II) a brief introduction to kotlin functions
- LeetCode 31. Next spread
- 2309. The best English letters with both upper and lower case
- Applet network data request
- LeetCode 496. Next larger element I
- SQL learning - case when then else
猜你喜欢
Using request headers to develop multi terminal applications
揭秘百度智能测试在测试自动执行领域实践
Why do offline stores need cashier software?
Global configuration tabbar
Applet customization component
OpenGL - Lighting
What about wechat mall? 5 tips to clear your mind
百度评论中台的设计与探索
How do enterprises choose the appropriate three-level distribution system?
Newton iterative method (solving nonlinear equations)
随机推荐
SQL learning - case when then else
E-commerce apps are becoming more and more popular. What are the advantages of being an app?
22-07-04 Xi'an Shanghao housing project experience summary (01)
Resolve the horizontal (vertical) sliding conflict between viewpager and WebView
The most comprehensive promotion strategy: online and offline promotion methods of E-commerce mall
Develop and implement movie recommendation applet based on wechat cloud
Online chain offline integrated chain store e-commerce solution
About getfragmentmanager () and getchildfragmentmanager ()
Tutorial on building a framework for middle office business system
观测云与 TDengine 达成深度合作,优化企业上云体验
LeetCode 503. 下一个更大元素 II
LeetCode 556. 下一个更大元素 III
OpenGL - Model Loading
TDengine可通过数据同步工具 DataX读写
What about wechat mall? 5 tips to clear your mind
AUTOSAR from getting started to mastering 100 lectures (103) -dbc file format and creation details
Viewpager pageradapter notifydatasetchanged invalid problem
【el-table如何禁用】
基于STM32单片机的测温仪(带人脸检测)
Kotlin introductory notes (VI) interface and function visibility modifiers