MySQL : Is there a command similar to FLUSH STATUS to reset GLOBAL STATUS

MySQL

I'm trying to run some load tests on my MySQL server and check a bunch of relevant GLOBAL STATUS variables after each run. Is there an easy way to flush GLOBAL STATUS variables like the regular FLUSH STATUS command?

Restarting the server seems to be one way of accomplishing the same thing but I'd prefer something faster.

Best Answer

Try from command-line (not mysql prompt):

$ mysqladmin flush-status