Run the below command as ssh shell ie: from putty
mysqlcheck -u root -p --auto-repair --check --optimize --all-databases
note: if you using goautodial then the password will be vicidialnow
mysqlcheck -u cron -p --auto-repair --check --optimize --all-databases
password will be : 1234
If you need more info about the coding, you can ask professionals from dissertation help service, they definitely can help you a lot