Optimize all mysql databases via ssh:
1 |
mysqlcheck -u da_admin -p`grep "^passwd=" /usr/local/directadmin/conf/mysql.conf | cut -d= -f2` --auto-repair --check --optimize --all-databases |
Optimize all mysql databases via ssh:
1 |
mysqlcheck -u da_admin -p`grep "^passwd=" /usr/local/directadmin/conf/mysql.conf | cut -d= -f2` --auto-repair --check --optimize --all-databases |