Ubuntu: start/stop mysqld

If you use the init.d script on Ubuntu, e.g. 

sudo /etc/init.d/mysql restart

you may get this message:

Rather than invoking init scripts through /etc/init.d, use the service(8)

utility, e.g. service mysql restart

Since the script you are attempting to invoke has been converted to an

Upstart job, you may also use the stop(8) and then start(8) utilities,

e.g. stop mysql ; start mysql. The restart(8) utility is also available.

mysql stop/waiting

mysql start/running, process 25974

http://askubuntu.com/questions/82374/how-do-i-start-stop-mysql-server

Leave a Reply

Your email address will not be published. Required fields are marked *