mysqlcheck
Format
Option File
--
password [292]
password[=password] [292]
--pipe [292]
--
port [292]
port=port_num [292]
--
protocol [292]
protocol=type [292]
--quick [292]
quick [292]
--repair [292]
repair [292]
--silent [292]
silent [292]
--
socket [292]
socket=path [292]
--ssl-
ssl-ca [292]
ca=file_name [292]
--ssl-
ssl-capath [292]
capath=dir_name [292]
--ssl-
ssl-cert [292]
cert=file_name [292]
--ssl-
ssl-cipher [292]
cipher=cipher_list [292]
--ssl-
ssl-key [292]
key=file_name [292]
--ssl-verify-server-
ssl-verify-server-
cert [292]
cert [292]
--tables [292]
tables [292]
--use-frm [293]
use-frm [293]
--
user [293]
user=user_name, [293]
--verbose [293]
--version [293]
•
[290],
--help
-?
Display a help message and exit.
•
--all-databases
Check all tables in all databases. This is the same as using the
naming all the databases on the command line.
•
[290],
--all-in-1
Instead of issuing a statement for each table, execute a single statement for each database that
names all the tables from that database to be processed.
•
[290],
--analyze
Analyze the tables.
— A Table Maintenance Program
Description
The password to use when connecting to the
server
On Windows, connect to server using a named
pipe
The TCP/IP port number to use for the connection
The connection protocol to use
The fastest method of checking
Perform a repair that can fix almost anything
except unique keys that are not unique
Silent mode
For connections to localhost
The path to a file that contains a list of trusted SSL
CAs
The path to a directory that contains trusted SSL
CA certificates in PEM format
The name of the SSL certificate file to use for
establishing a secure connection
A list of allowable ciphers to use for SSL
encryption
The name of the SSL key file to use for
establishing a secure connection
The server's Common Name value in its certificate
is verified against the host name used when
connecting to the server
Overrides the --databases or -B option
For repair operations on MyISAM tables
MySQL user name to use when connecting to
server
Verbose mode
Display version information and exit
[290],
-A
-1
-a
290
[291]
option and
--databases
Introduced
Need help?
Do you have a question about the 5.0 and is the answer not in the manual?
Questions and answers