[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
RESET
Syntax
RESET reset_option [,reset_option] ... |
The RESET
statement is used to clear things. It also acts as a stronger
version of the FLUSH
command. See section FLUSH
.
To execute RESET
, you must have the RELOAD
privilege.
Option | Description |
MASTER | Deletes all binary logs listed in the index file, resetting the binlog | index file to be empty. Previously named
SLAVE | Makes the slave forget its replication position in the master | binlogs. Previously named
QUERY CACHE | Removes all query results from the query cache. |