I'm having trouble restarting mysql. When I enter the following command, I get this message:
# /etc/init.d/mysql restart 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 restart(8) utility, e.g. restart mysql
And it hangs forever.
When I try to restart mysql as a service using the following command:
# service mysql restart
It hangs forever.
I can't log into mysql as root anymore either. Any ideas on how to get this running again?
I tried the following
# service mysql start start: Job is already running: mysql
When I do the following
# ps -ef | grep -i mysql | grep -v grep
Nothing gets returned
apt-get remove mysql-server,
apt-get install mysql-server