Skip to main content

UNLOCK TABLES

Releases all table locks on all databases in the cluster.

After the locks are released, any previously blocked transactions resume.

Syntax

UNLOCK TABLES [ON db_name];

Arguments

  • db_name: name of the database

Remarks

Example

UNLOCK TABLES;