mysqlcheck -udbuser -p --auto-repair --optimize --databases mydrupaldb, I got the following error.
cache_form error: myisam_sort_buffer_size is too small
Someone has suggested that it should be solved by increasing sort_buffer_size parameter, for example with
myisamchk -r -q cache_form.MYI --sort_buffer_size=2G. Executing this command causes the following error.
myisamchk: error: File 'cache_form.MYI' doesn't exist
How can I fix it?