You are on page 1of 1

"SELECT CONCAT(FLOOR(Uptime / 86400), ' days, ', FLOOR((Uptime % 86400) / 3600), '

hours, ', FLOOR(((Uptime % 86400) % 3600) / 60), ' minutes, ', ((Uptime % 86400) %
3600) % 60, ' seconds') AS Uptime FROM information_schema.GLOBAL_STATUS WHERE
VARIABLE_NAME = 'Uptime';"

You might also like