'Force mysql service to stop

I know that this is a simple question:

How to stop mysql server?

but under root(in a linux server) service mysql stopdisplays Stopping MySQL database server: mysqld and it waits for an infinite time and the status shows that the service is alway running. So how to FORCE mysql server to stop



Solution 1:[1]

Try this:

sudo /etc/init.d/mysql stop

Or this:

sudo initctl stop mysql

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Stefan