阿里云数据库报错LOCK_WRITE_GROWTH

2022/4/20 19:12:33

本文主要是介绍阿里云数据库报错LOCK_WRITE_GROWTH,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

现象
所有数据无法写入, 写入被锁定, 报错"LOCK_WRITE_GROWTH "

### Cause: java.sql.SQLException: The MySQL server is running with the LOCK_WRITE_GROWTH option so it cannot execute this statement
; uncategorized SQLException; SQL state [HY000]; error code [1290]; The MySQL server is running with the LOCK_WRITE_GROWTH option so it cannot execute this statement; nested exception is java.sql.SQLException: The MySQL server is running with the LOCK_WRITE_GROWTH option so it cannot execute this statement

原因
1、阿里云的一个保护策略,空间剩余不足时,禁止数据写入,保障可读状态。

2、阿里云数据库未续费
查数据,删表没问题,更新和插入不行。

解决方案

1、
升级数据库空间.
删除一些没有用的数据.
用 flush privileges.

2、续费



这篇关于阿里云数据库报错LOCK_WRITE_GROWTH的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程