mysql sleep function code example Example: mysql sleep SELECT SLEEP(5); -- 5 seconds DO SLEEP(5); -- same, output available