To ensure that myisamchk  and the server use the same values for full-text parameters, you can place each one in both the [mysqld]  and [myisamchk]  sections of an option file: 

[mysqld] ft_min_word_len=3 [myisamchk] ft_min_word_len=3 

An alternative to using myisamchk  is to use the REPAIR TABLE , ANALYZE TABLE , OPTIMIZE TABLE , or ALTER TABLE . These statements are performed by the server, which knows the proper full-text parameter values to use. 

## 4.6.4.2 myisamchk Check Options 

myisamchk  supports the following options for table checking operations: 

• --check , -c 

Check the table for errors. This is the default operation if you specify no option that selects an operation type explicitly. 

• --check-only-changed , -C 

Check only tables that have changed since the last check. 

• --extend-check , -e 

Check the table very thoroughly. This is quite slow if the table has many indexes. This option should only be used in extreme cases. Normally, myisamchk  or myisamchk --medium-check  should be able to determine whether there are any errors in the table. 

If you are using --extend-check  and have plenty of memory, setting the key_buffer_size  variable to a large value helps the repair operation run faster. 

See also the description of this option under table repair options. 

For a description of the output format, see Section 4.6.4.5, “Obtaining Table Information with myisamchk” . 

• --fast , -F 

Check only tables that haven’t been closed properly. 

• --force , -f 

Do a repair operation automatically if myisamchk  finds any errors in the table. The repair type is the same as that specified with the --recover  or -r  option. 

• --information , -i 

Print informational statistics about the table that is checked. 

• --medium-check , -m 

Do a check that is faster than an --extend-check  operation. This finds only 99.99% of all errors, which should be good enough in most cases. 

• --read-only , -T 

