•
[291]
--auto-repair
If a checked table is corrupted, automatically fix it. Any necessary repairs are done after all tables
have been checked.
•
--character-sets-dir=path
The directory where character sets are installed. See
•
[291],
--check
-c
Check the tables for errors. This is the default operation.
•
--check-only-changed
Check only tables that have changed since the last check or that have not been closed properly.
•
--check-upgrade
Invoke
CHECK TABLE
current version of the server. This option was added in MySQL 5.0.19.
•
[291]
--compress
Compress all information sent between the client and the server if both support compression.
•
[291],
--databases
Process all tables in the named databases. Normally,
on the command line as a database name and following names as table names. With this option, it
treats all name arguments as database names.
•
--debug[=debug_options]
Write a debugging log. A typical
'd:t:o'.
•
--default-character-set=charset_name
Use
charset_name
•
[291],
--extended
If you are using this option to check tables, it ensures that they are 100% consistent but takes a long
time.
If you are using this option to repair tables, it runs an extended repair that may not only take a long
time to execute, but may produce a lot of garbage rows also!
•
[291],
--fast
-F
Check only tables that have not been closed properly.
•
[291],
--force
-f
Continue even if an SQL error occurs.
•
--host=host_name
Connect to the MySQL server on the given host.
•
--medium-check
— A Table Maintenance Program
mysqlcheck
[291]
[291],
-C
[291],
-g
with the
FOR UPGRADE
-B
[291],
-# [debug_options]
debug_options
as the default character set. See
-e
[291],
-h host_name
[291],
-m
291
Section 10.5, "Character Set
option to check tables for incompatibilities with the
treats the first name argument
mysqlcheck
string is 'd:t:o,file_name'. The default is
[291]
Section 10.5, "Character Set
Configuration".
Configuration".
Need help?
Do you have a question about the 5.0 and is the answer not in the manual?
Questions and answers