Oracle 5.0 Reference Manual page 1226

Table of Contents

Advertisement

The
statement has several variant forms that clear or reload various internal caches, flush
FLUSH
tables, or acquire locks. To execute FLUSH, you must have the
By default, the server writes
slaves. To suppress logging, use the optional
Note
FLUSH
READ LOCK
cause problems if replicated to a slave.
The
statement causes an implicit commit. See
FLUSH
Implicit
Commit".
The
statement is similar to FLUSH. See
RESET
using the
statement with replication.
RESET
can be any of the following items:
flush_option
DES_KEY_FILE
Reloads the DES keys from the file that was specified with the
server startup time.
HOSTS
Empties the host cache. You should flush the host cache if some of your hosts change IP address
or if the error message
"Host 'host_name' is
errors occur successively for a given host while connecting to the MySQL server, MySQL
assumes that something is wrong and blocks the host from further connection requests.
Flushing the host cache enables further connection attempts from the host. The default value
of
max_connect_errors
max_connect_errors
LOGS
Closes and reopens all log files. If binary logging is enabled, the sequence number of the binary log
file is incremented by one relative to the previous file. On Unix, this is the same thing as sending
a
signal to the
SIGHUP
ignores
and SIGQUIT).
SIGHUP
If you execute
FLUSH LOGS
with the
--log-error
Error
Log".
MASTER
Deletes all binary logs, resets the binary log index file and creates a new binary log.
is deprecated in favor of
backward compatibility, but is removed in MySQL 5.6. See
Syntax".
PRIVILEGES
Reloads the privileges from the grant tables in the
server receives a
SIGHUP
The server caches information in memory as a result of
memory is not released by the corresponding
Other Administrative Statements
statements to the binary log so that they replicate to replication
FLUSH
NO_WRITE_TO_BINLOG
LOGS,
FLUSH
MASTER,
are not written to the binary log in any case because they would
Section 13.7.6.5,
Host 'host_name' is blocked
blocked".) When more than
[467]
is 10. To avoid this error message, start the server with
[467]
set to a large value.
server (except on some Mac OS X 10.3 versions where
mysqld
and
is writing the error log to a file (for example, if it was started
mysqld
[411]
option), log file renaming occurs as described in
RESET
MASTER.
FLUSH MASTER
signal.
1206
RELOAD
SLAVE, and
FLUSH
Section 13.3.3, "Statements That Cause an
"RESET
--des-key-file
occurs. (See
max_connect_errors
is still accepted in MySQL 5.0 for
Section 13.4.1.2,
database. On Unix, this also occurs if the
mysql
and
GRANT
CREATE USER
and
REVOKE
DROP USER
[577]
privilege.
keyword or its alias LOCAL.
FLUSH TABLES WITH
Syntax", for information about
[407]
option at
Section C.5.2.6,
[467]
mysqld
Section 5.2.1, "The
FLUSH MASTER
"RESET MASTER
statements. This
statements, so for a server

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents