[英]problems with mysql innodb_lock_wait_timeout attribute on the mysql in the coud
I am currently working on an application built in yii2 and I have an error in my MySQL in the cloud and I have the following error.我目前正在 yii2 中构建一个应用程序,我在云中的 MySQL 中出现错误,并且出现以下错误。
General error: 1205 Lock wait timeout exceeded;
一般错误:1205 超出锁定等待超时; try restarting transaction
尝试重新启动事务
Googling I found that it can be solved by changing this parameter in MySQL innodb_lock_wait_timeout
but I don't know how to do it in the MySQL in the cloud google了一下,发现在mysql
innodb_lock_wait_timeout
修改这个参数可以解决,但是在云中的mysql中不知道怎么弄
some help?一些帮助?
sorry for my English is very very bad对不起,我的英语非常非常糟糕
You need to add a database flag as stated on this link https://cloud.google.com/sql/docs/mysql/flags您需要添加此链接中所述的数据库标志https://cloud.google.com/sql/docs/mysql/flags
Search for 'innodb_lock_wait_timeout'搜索“innodb_lock_wait_timeout”
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.