Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Sleep in MySQL

Answer:

In MySQL, you can issue an query to sleep(), e.g.

mysql> SELECT SLEEP(2);
+----------+
| SLEEP(2) |
+----------+
|        0 |
+----------+
1 row in set (2.00 sec)
  1. Compare binary value in MySQL
  2. How to check and kill long running MySQL query
  3. Disable Query Cache at runtime when querying MySQL database
  4. Explain query execution plan in MySQL
  5. Prepare statement in MySQL

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>