Stopping MySQL database server: mysqld failed!

Posts regarding the MySQL database server
Post Reply
mister_v
Posts: 199
Joined: Thu Mar 04, 2010 9:19 pm

Stopping MySQL database server: mysqld failed!

Post by mister_v »

Hi,

I have a problem with stopping mysql server.
I tried to stop it with

Code: Select all

/etc/init.d/mysql stop
as root; but it didn't work.

I get the error:

Code: Select all

Stopping MySQL database server: mysqld failed!
And it didn't stop, Why?
chris
Site Admin
Posts: 205
Joined: Mon Jul 21, 2008 9:52 am

Re: Stopping MySQL database server: mysqld failed!

Post by chris »

I had a similar problem. I found that

Code: Select all

 mysqladmin -u root -p shutdown
stops the server.

If it doesn't work ,you can kill the process:

Code: Select all

sudo kill [processid]
But it might be not save...
Post Reply