When I try to save category from admin panel it showing error like something went wrong and when I checked the exception log it showing me below error.
main.CRITICAL: SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction, query was: UPDATE
catalog_category_entity
SETchildren_count
= children_count+1 WHERE (entity_id IN('1', '2', '1355')) {"exception":"[object] (Magento\Framework\DB\Adapter\LockWaitException(code: 1205): SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction, query was: UPDATEcatalog_category_entity
SETchildren_count
= children_count+1 WHERE (entity_id IN('1', '2', '1355')) at /public/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:555, Zend_Db_Statement_Exception(code: 0): SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction, query was: UPDATEcatalog_category_entity
SETchildren_count
= children_count+1 WHERE (entity_id IN('1', '2', '1355')) at /public/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php:235, PDOException(code: HY000): SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction at /public/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php:228)"} []
Please let me know if you have face same above issue like this.
What are the necessary steps to fix the above issue?
Your help and answers are appreciated!
Thanks in advance!