bug with stopping mysql 3.23.53 on Mac OS X 10.2.1 ?

bug with stopping mysql 3.23.53 on Mac OS X 10.2.1 ?

am 16.10.2002 15:33:48 von Michael Widenius

Hi!

>>>>> "Adam" == Adam Arrowood writes:

Adam> How-To-Repeat:
Adam> I have a brand new installation of Mac OS X 10.2.1 (client), with the
Adam> developer tools (including the August 2002 Dev Tools update).
Adam> Using the system's gcc 3.1, I compiled mysql 3.23.53 with:

Adam> /configure --prefix=/usr/local/mysql --with-mysqld-user=mysql

Adam> And everything compiles and runs fine. I can make queries, etc.

Adam> I can shutdown the mysqld with mysqladmin just fine.
Adam> However, I cannot seem to send a signal that will cleanly shutdown
Adam> mysql. It ignores SIGTERM. There is no output in the error log
Adam> whatsoever. SIGKILL (and other) signals work, fine, but not TERM.

Don't know why SIGTERM doesn't work.
Have you tried 'SIGQUIT' ? It should also cleanly shut down mysqld.

Adam> Is this an OS X issue or a mysql one? I have gotten around it by
Adam> using the mysqladmin and the root password, but I'd rather not
Adam> have the password in the StartupItem script.

I think this is an OS X issue, but haven't had time to test this.

One workaround you can do is to save the password in a protect file
only accessable by you and then do:

mysqladmin --defaults-file=path-to-your-password-file shutdown

The path-to-your-password-file should contain

[client]
password=xxxx

Regards,
Monty
CTO of MySQL AB

------------------------------------------------------------ ---------
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 bugs-thread12751@lists.mysql.com
To unsubscribe, e-mail