Puoi bloccare le tabelle usando MySQL LOCK TABLES comando in questo modo:
LOCK TABLES tablename WRITE;
# Do other queries here
UNLOCK TABLES;
Vedi:
https://dev.mysql.com/doc/refman /5.5/en/lock-tables.html
Puoi bloccare le tabelle usando MySQL LOCK TABLES comando in questo modo:
LOCK TABLES tablename WRITE;
# Do other queries here
UNLOCK TABLES;
Vedi:
https://dev.mysql.com/doc/refman /5.5/en/lock-tables.html