Cannot stop mysqld using
or
The latter gives me this:
That file does not exist, nor does /tmp/mysql.sock.
The server is up and running just fine. but I cannot stop it or restart it.
service mysqld stop
/etc/rc.d/init.d mysqld stop
or
mysqladmin -p shutdown
The latter gives me this:
Code:
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
The server is up and running just fine. but I cannot stop it or restart it.