Flush
Flush clears or reloads various internal caches used by MySQL. To execute Flush, you must have the Reload privilege (see Server Security Management for MySQL Database).
Hint: Just simply right-click the connection and select Flush.
The following table illustrates the use of Flush:
- Privileges
Reloads the privileges from the grant tables in the MySQL database. - Hosts
Empties the host cache tables. You should flush the host tables if some of your hosts change IP number or if you get the error message Host 'host_name' is blocked. When more than max_connect_errors errors occur in a row for a given host while connection to MySQL server, MySQL assumes something is wrong and blocks the host from further connection requests. Flushing the host tables allow the host to attempt to connect again. - Logs
Closes and reopens all log files. If you have specified the update log file or a binary log file without an extension, the extension number of the log file will be incremented by one relative to the previous file. If you have used an extension in the file name, MySQL will close and reopen the update log file. - Status
Resets most status variables to zero. This is something one should only use when debugging a query. - Tables
Closes all open tables and forces all tables in use to be closed.