Home >Database >Mysql Tutorial >MySQL的lock tables和unlock tables的用法(转载)

MySQL的lock tables和unlock tables的用法(转载)

WBOY
WBOYOriginal
2016-06-07 15:46:471116browse

mysql select * from user; ----------------- | id| name| ----------------- |22 | abc| |223 | dabc| | 2232 | dddabc| |45 | asdsagd| |23 | ddddddddd | ----------------- 5 rows in set (0.00 sec) mysql 自己的读操作未被阻塞

mysql> select * from user;

+------+-----------+

| id   | name      |

+------+-----------+

|   22 | abc       |

|  223 | dabc      |

| 2232 | dddabc    |

|   45 | asdsagd   |

|   23 | ddddddddd |

+------+-----------+

5 rows in set (0.00 sec)

mysql>

自己的读操作未被阻塞

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn