FastNetMon

Showing posts with label mysqloptimize. Show all posts
Showing posts with label mysqloptimize. Show all posts

Sunday, 5 September 2010

Как запустить mysqloptimize для всех БД на сервере c ISPManager?

mysqloptimize --all-databases -uroot -p`cat /usr/local/ispmgr/etc/ispmgr.conf | grep Password | awk '{print $2}' | head -n1`