Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Surely it's a bad idea...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Surely it's a bad idea...
Authored by: dseang on Apr 20, '01 03:26:53AM

Surely it's a bad idea to shutdown any kind of database server this way (anybody who's had to force-quit FileMaker will know what i mean...),

Has anybody tried:

cd /usr/local/mysql/bin
./mysqladmin shutdown

[ Reply to This | # ]
mysql_admin shutdown is broken
Authored by: thinkyhead on Apr 20, '01 03:08:06PM
As many users have discovered you can't get the mysql daemon to quit using mysqladmin shutdown. This is a bug that exists for all BSD Unices, and not just MacOS X. Some have suggested it is because the signals that are generated by mysqladmin shutdown are blocked in some way. There are a whole bunch of threads about it all over the net, as a search on Google for terms like "mysql admin shutdown kill can't" will attest.

If anyone finds some solution I'd love to hear about it. For now it looks as if the only SAFE way to shut it down is to turn off the automatic startup of mysql and restart the computer.

[ Reply to This | # ]