当前位置:网站首页>解决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、重新运行项目,即可显示运行正常。
边栏推荐
- MYSQL 对字符串类型排序不生效问题
- 基于STM32单片机的测温仪(带人脸检测)
- Svg optimization by svgo
- Figure neural network + comparative learning, where to go next?
- An article takes you into the world of cookies, sessions, and tokens
- LeetCode 31. 下一个排列
- Unity SKFramework框架(二十二)、Runtime Console 运行时调试工具
- The most comprehensive promotion strategy: online and offline promotion methods of E-commerce mall
- Android privacy sandbox developer preview 3: privacy, security and personalized experience
- Alibaba's ten-year test brings you into the world of APP testing
猜你喜欢
Project practice | excel export function
百度评论中台的设计与探索
Community group buying has triggered heated discussion. How does this model work?
Understanding of smt32h7 series DMA and DMAMUX
Principle and performance analysis of lepton lossless compression
The popularity of B2B2C continues to rise. What are the benefits of enterprises doing multi-user mall system?
干货整理!ERP在制造业的发展趋势如何,看这一篇就够了
LeetCode 496. 下一个更大元素 I
E-commerce apps are becoming more and more popular. What are the advantages of being an app?
What are the advantages of the live teaching system to improve learning quickly?
随机推荐
植物大战僵尸Scratch
LeetCode 31. 下一个排列
The popularity of B2B2C continues to rise. What are the benefits of enterprises doing multi-user mall system?
Develop and implement movie recommendation applet based on wechat cloud
[how to disable El table]
An article takes you into the world of cookies, sessions, and tokens
Svgo v3.9.0+
22-07-04 Xi'an Shanghao housing project experience summary (01)
Viewpager pageradapter notifydatasetchanged invalid problem
A detailed explanation of the general process and the latest research trends of map comparative learning (gnn+cl)
云计算技术热点
基于模板配置的数据可视化平台
7 月 2 日邀你来TD Hero 线上发布会
Principle and performance analysis of lepton lossless compression
Wxss template syntax
Lepton 无损压缩原理及性能分析
LeetCode 556. Next bigger element III
OpenGL - Model Loading
Uni app implements global variables
基于宽表的数据建模应用