小编arn*_*arn的帖子

如何在 MySql 中的所有表上暗示 WRITE 锁?

如何在 MySql 中的所有表上暗示 WRITE 锁?我尝试了以下但它给出了错误。

FLUSH TABLES mytest.mytable1 WITH  LOCK;

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that 
corresponds to your MySQL server version for the right syntax to use 
near 'WITH  LOCK' at line 1
Run Code Online (Sandbox Code Playgroud)

mysql

4
推荐指数
1
解决办法
6206
查看次数

标签 统计

mysql ×1