com.mysql.cj.jdbc.exceptions.MySQLTransactionRollbackException: Lock wait timeout exceeded; try restarting transaction


Solutions on the web1

Solution icon of stackoverflow
Lock wait timeout exceeded; try restarting transaction

Stack trace

com.mysql.cj.jdbc.exceptions.MySQLTransactionRollbackException: Lock wait timeout exceeded; try restarting transaction
	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:539)[myapp-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?]
	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:513)[myapp-0.0.1-SNAPSHOT-jar-with-dependencies.jar:?]

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.