UNLOCK
Example
Section titled “Example”UNLOCK TABLES;Output
Section titled “Output”Query OK, 0 rows affected (0.00 sec)Explanation
Section titled “Explanation”The UNLOCK TABLES SQL command in MySQL is used to release any locks held by the current session on the named tables or databases. In the above example, all table locks are released. If the session currently holds a global read lock or named lock, UNLOCK TABLES will release that as well.