Mark Tully writes:
> From: Mark Tully <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: mySQLd won't die under Darwin (Mac OS X 10.0.4)
>
> >Description:
> Downloaded source archive, compiled as of instructions.
> The mySQLd server is started as root and it switches down to the
> mysql user. It can be started using the "mysql.server start" command
> or by "safe_mysqld --user=mysql &" and it appears to work fine.
> However it just won't die!
> kill doesn't work on either the mysql process or the script, the
> "mysqladmin -u root shutdown" command similarly fails and the
> "mysql.server stop" command times out. The only way I can stop it
> is by manually killing off the script and then the server with
> "kill -KILL".
> The pid is recorded correctly and retrieved correctly by the
> mysql.server stop command, but kill is just completely ineffectual.
> >How-To-Repeat:
> sudo mysql.server start
> sudo mysql.server stop
> Killing mysqld with pid 386
> Wait for mysqld to exit\c
> .\c
> .\c
> .\c
> .
> .
> .
> gave up waiting!
> >Fix:
> sudo kill -KILL <pid of script>
> sudo kill -KILL <pid of daemon>
>
Looks like a thread - related problem to me.
Simply signals are not wroking ...
Try this :
Start MySQL server then try connecting to it and running some simple
queries.
If it works, then mysqladmin shutdown MUST work, provided user has
ROOT privileges.
--
Regards,
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php