This command line script analyzes, checks, optimizes, and repairs Mysql databases. It uses 3 different methods for repairing databases, including command line executables and SQL commands. Documentation is included within the script. All configuration is done at the top of the script. Do not stop the script after it has started running, as this can cause a table to crash. If a table is large, it can take a long time to process. This script can be run as a cron on a regular basis. This scipt is not a CGI or web interface, it is command line only.