Vous pouvez verrouiller les tables en utilisant MySQL LOCK TABLES commande comme celle-ci :
LOCK TABLES tablename WRITE;
# Do other queries here
UNLOCK TABLES;
Voir :
https://dev.mysql.com/doc/refman /5.5/fr/verrouiller-tables.html
Vous pouvez verrouiller les tables en utilisant MySQL LOCK TABLES commande comme celle-ci :
LOCK TABLES tablename WRITE;
# Do other queries here
UNLOCK TABLES;
Voir :
https://dev.mysql.com/doc/refman /5.5/fr/verrouiller-tables.html