3 messages in com.mysql.lists.packagersAddendum to the MySQL 3.23.54 release
FromSent OnAttachments
Lenz Grimmer13 Dec 2002 07:18 
Christian Hammers16 Dec 2002 01:14 
Lenz Grimmer16 Dec 2002 01:16 
Subject:Addendum to the MySQL 3.23.54 release
From:Lenz Grimmer (le@mysql.com)
Date:12/13/2002 07:18:12 AM
List:com.mysql.lists.packagers

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Hi,

unfortunately the MySQL 3.23.54 release includes a buglet in the "mysqld_safe" startup script that can lead to a "syntax error" message on startup.

This does only apply to the Unix binaries, the Windows packages are not affected by this - they do not use this script at all.

We will provide updated binary packages labelled as "3.23.54a" which will fix this error ASAP. In the meanwhile, you can also correct this typo manually by following the instructions below.

Please change into the directory where MySQL has been installed into (e.g. /usr/local/mysql) and open the file "bin/safe_mysqld" with a text editor.

Now look for the following text at line 162:

[SNIP] if $NOHUP_NICENESS -gt 0 then $NOHUP_NICENESS="nice --$NOHUP_NICENESS nohup" [SNIP]

This needs to be changed to:

[SNIP] if test $NOHUP_NICENESS -gt 0 then NOHUP_NICENESS="nice --$NOHUP_NICENESS nohup" [SNIP]

In other words, please add the word "test" to the line beginning with "if" and remove the dollar sign in front of "NOHUP_NICENESS" in the last line here.

Alternatively, simply apply the following patch to safe_mysqld:

[SNIP] - --- safe_mysqld.org Mon Nov 25 11:49:31 2002 +++ safe_mysqld Fri Dec 13 13:09:16 2002 @@ -159,9 +159,9 @@ NOHUP_NICENESS=`nohup nice 2>&1` if test $? -eq 0 && test x"$NOHUP_NICENESS" != x0 && nice --1 echo foo >
/dev/null 2>&1 then - - if $NOHUP_NICENESS -gt 0 + if test $NOHUP_NICENESS -gt 0 then - - $NOHUP_NICENESS="nice --$NOHUP_NICENESS nohup" + NOHUP_NICENESS="nice --$NOHUP_NICENESS nohup" else NOHUP_NICENESS="nice -$NOHUP_NICENESS nohup" fi [SNIP]

We apologize for this mistake and for any inconveniences this may have caused you.

iD8DBQE9+fpLSVDhKrJykfIRAqXtAJ97stZCr2MwCEHgB6OVJ9Dcyq8ASQCfbZt4 XSqqje6wHmkCocGcV9O2EbQ= =3CXW -----END PGP SIGNATURE-----