Bruce Dembecki wrote:

Hi! I'm struggling to understand how to fix the mysqld_safe script for an
OSX machine. If I run "mysql.server stop" then the mysqld process is killed
and mysqld_safe promptly starts it again. I know mysqld_safe is supposed to
start mysqld if it stops but I also know there are times I need to work on
files and so on and when you need to stop it you need to stop it...


at least on Linux you can kill mysqld_safe
do a
ps -aux | grep mysql
then start killing those processe with
kill -9

usually after killing 2-3 processes all others vanish, too

in general this shouldn't be necessary.
a shutdown with mysqladmin should put all of mysql to sleep cleanly.

usually I run in this issue when I graft the mysql.com binary on a SuSE distribution without having set the necessary symlinks so all apps and libs and pid and socket find each other. (Why cant those *you know what* use proper directory tree like mysql.com wants it to build the distri ?)
without this precaution the server comes up and mysqladmin cant talk to the server and thus cant stop it savely.






--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to