FLUSH flush_option [,flush_option]
You should use the
FLUSH command if you want to clear some of the
internal caches MySQL uses. To execute
FLUSH, you must have
the reload privilege.
flush_option can be any of the following:
| 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 ... is blocked. When more than
max_connect_errors errors occur in a row for a given host while
connection to the MySQL server, MySQL assumes
something is wrong and blocks the host from further connection requests.
Flushing the host tables allows the host to attempt to connect
Host '...' is blocked error.) You can start
-O max_connection_errors=999999999 to avoid this error message.
| Closes and reopens the standard and update log
files. If you have specified the update log file without an extension, the
extension number of the new update log file will be incremented by one
relative to the previous file.
| Reloads the privileges from the grant tables in
| Closes all open tables.
| Resets most status variables to zero.
You can also access each of the commands shown above with the
utility, using the