A simple command to automatically check, repair and optimize all tables in all databases - MySQL server on Linux, Unix or BSD.
mysqlcheck -u root -p --auto-repair --check --optimize --all-databases
A simple command to automatically check, repair and optimize all tables in all databases - MySQL server on Linux, Unix or BSD.
mysqlcheck -u root -p --auto-repair --check --optimize --all-databases