Repair mysql databases