How Do I Repair, Check and Optimize All MySQL Data Bases via SSH running Linux with Direct Admin

Follow

 

  • Log Into SSH
  • Run the following Command as ' root '

# mysqlcheck -uda_admin -p`grep "^passwd=" /usr/local/directadmin/conf/mysql.conf | cut -d= -f2` --auto-repair --check --optimize --all-databases

Have more questions? Submit a request

Comments

Powered by Zendesk