MySQL Reference Manual for version 4.0.18.

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

13.5.4.6 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.

index file to be empty. Previously named FLUSH MASTER. See section 13.6.1 SQL Statements for Controlling Master Servers. binlogs. Previously named FLUSH SLAVE. See section 13.6.2 SQL Statements for Controlling Slave Servers.
Option Description
MASTER Deletes all binary logs listed in the index file, resetting the binlog
SLAVE Makes the slave forget its replication position in the master
QUERY CACHE Removes all query results from the query cache.



This document was generated by rdg (Feb 25 2004) using texi2html