February 2018
Intermediate to advanced
510 pages
16h 10m
English
This program is used for table maintenance. It checks, repairs, optimizes, or analyzes tables.The program can be time consuming, particularly for largesized tables. mysql_upgrade uses the mysqlcheck command for checks and repair of all the tables. The mysqld server must be running to use the mysqlcheck command.
mysqlcheck uses CHECK TABLE, REPAIR TABLE, ANALYZE TABLE, and OPTIMIZE TABLE in a convenient way for the user. If the table repair fails by mysqlcheck then a manual table repair is required.
The following is the execution syntax for the mysqlcheck command :
shell> mysqlcheck [options] db_name [tbl_name ...]shell> mysqlcheck [options] --databases db_name ...shell> mysqlcheck [options] --all-databases ...
Read now
Unlock full access