Oracle 5.0 Reference Manual page 309

Table of Contents

Advertisement

make a symbolic link to
tables.
The names shown in the following table can be used to change
Command
mysqlrepair
mysqlanalyze
mysqloptimize
supports the following options, which can be specified on the command line or in the
mysqlcheck
and
[mysqlcheck]
[client]
processing option files described at
Handling".
Table 4.4.
mysqlcheck
Format
Option File
--all-
all-
databases [290]
databases [290]
--all-in-1 [290]
all-in-1 [290]
--analyze [290]
analyze [290]
--auto-
auto-
repair [291]
repair [291]
--character-sets-
character-sets-
dir=path [291]
dir [291]
--check [291]
check [291]
--check-only-
check-only-
changed [291]
changed [291]
--check-
check-
upgrade [291]
upgrade [291]
--
compress [291]
compress [291]
--
databases [291]
databases [291]
--
debug [291]
debug[=debug_options] [291]
--default-
default-character-
character-
set [291]
set=charset_name [291]
--extended [291]
extended [291]
--fast [291]
fast [291]
--force [291]
force [291]
--help [290]
--
host [291]
host=host_name [291]
--medium-
medium-
check [291]
check [291]
--optimize [292]
optimize [292]
— A Table Maintenance Program
mysqlcheck
named mysqlrepair. If you invoke mysqlrepair, it repairs
mysqlcheck
Meaning
The default option is
The default option is
The default option is
groups of an option file.
Section 4.2.3.4, "Command-Line Options that Affect Option-File
Options
Description
Check all tables in all databases
Execute a single statement for each database that
names all the tables from that database
Analyze the tables
If a checked table is corrupted, automatically fix it
The directory where character sets are installed
Check the tables for errors
Check only tables that have changed since the
last check
Invoke CHECK TABLE with the FOR UPGRADE
option
Compress all information sent between the client
and the server
Process all tables in the named databases
Write a debugging log
Use charset_name as the default character set
Check and repair tables
Check only tables that have not been closed
properly
Continue even if an SQL error occurs
Display help message and exit
Connect to the MySQL server on the given host
Do a check that is faster than an --extended
operation
Optimize the tables
289
mysqlcheck
[292]
--repair
[290]
--analyze
[292]
--optimize
mysqlcheck
default behavior.
also supports the options for
Introduced
5.0.19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents