
mysql锁表的方法:
打开“Navicat for MySQL”软件,新建一个查询

输入“LOCK TABLES student READ;”语句,然后执行该语句,就将student表锁定了,将READ改为WRITE可以为表添加一个写锁定

更多Python知识,请关注:云海天python教程网!!
来源:PY学习网:原文地址:https://www.py.cn/article.html
hmoban主题是根据ripro二开的主题,极致后台体验,无插件,集成会员系统
自学咖网 »
mysql如何锁表