Logo

Apache MySQL restart stop in Ubuntu

Posted under » MySQL » Ubuntu » Apache on 11 October 2010

Apache

/etc/init.d/apache2 start
/etc/init.d/apache2 stop
/etc/init.d/apache2 restart 

mysql

As in Ubuntu 10.10 - the Maverick Meerkat

Service

service mysql start
service mysql stop

Restart

restart mysql

Otherwise, the old command still works

/etc/init.d/mysql stop