Developers/Lock wait timeout exceeded

Lock wait timeout exceeded
This error is the result of a failed SQL statement or a missing COMMIT. The COMMIT at the end of the file is not executed and the next statements trying to access the tables are blocked until the database server returns an error because the lock time exceeded.