[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] killing mysql



> 
> On Tuesday 15 January 2002 01:12 pm, Cobalt wrote:
> > i have tried to kill the mysql process.
> > i did a ps ax . i see the number is 699
> > I have tried kill 699. but nothing happens.
> > i tried as admin, as su -
> > and even root.
> >
> > trying to stop it on its own gives me access errors for 
> > user@localhost.
> >
> 
> try /etc/rc.d/init.d/mysql stop
> 


Also, if the script isn't there for some reason as Gerald explained
above, then you'll need to kill the process manually.
To stop mysql first locate the process:
safe_mysqld
And kill that with a -9, so:
kill -9 20221

The safe_mysqld is a respawning script that will keep reloading mysqld
processes.
Now try killing off all mysqld processes, easiest is to do:
killall mysqld


That should do it,

Andy
andy@xxxxxxxxxxxxxxxxxxxxx
http://ineedlinux.info/