Re: mysql-server.sh: syntax error on FreeBSD
Re: mysql-server.sh: syntax error on FreeBSD
am 17.11.2002 23:09:28 von Vicki Brown
Our FreeBSD 4.7 system is reporting a syntax error from
/usr/local/etc/rc.d/mysql-server.sh at boot time. MySQL 3.23
6: syntax error: '&&' unexpected
The line in question is this one:
/usr/local/bin/safe_mysqld --user=mysql /dev/null & && echo -n ' mysqld'
in context:
#!/bin/sh
case "$1" in
start)
if [ -x /usr/local/bin/safe_mysqld ]; then
/usr/local/bin/safe_mysqld --user=mysql /dev/null
&& e
cho -n ' mysqld'
fi
;;
How-To-Repeat:
Install MySQL-Server (/usr/ports/databases/mysql323-server) under FreeBSD 4.7
Reboot. Watch the boot messages for the error.
--
- Vicki
Vicki Brown ZZZ Journeyman Sourceror:
P.O. Box 1269 zz |\ _,,,---,,_ Scripts & Philtres
San Bruno, CA zz /,`.-'`' -. ;-;;,_ Perl, Unix, MacOS
94066 USA |,4- ) )-,_. ,\ ( `'-'
mailto:vlb@cfcl.com '---''(_/--' `-'\_) http://www.cfcl.com/~vlb
------------------------------------------------------------ ---------
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-thread13015@lists.mysql.com
To unsubscribe, e-mail
Re: mysql-server.sh: syntax error on FreeBSD
am 18.11.2002 16:05:57 von Sergei Golubchik
Hi!
On Nov 17, Vicki Brown wrote:
> Our FreeBSD 4.7 system is reporting a syntax error from
> /usr/local/etc/rc.d/mysql-server.sh at boot time. MySQL 3.23
>
> 6: syntax error: '&&' unexpected
>
> The line in question is this one:
>
> /usr/local/bin/safe_mysqld --user=mysql /dev/null & && echo -n ' mysqld'
mysql-server.sh isn't part of mysql distribution, it's from
/usr/ports/databases/mysql323-server/files/mysql-server.sh
Also:
% cat /usr/ports/databases/mysql323-server/files/mysql-server.sh
....
%%PREFIX%%/bin/safe_mysqld --user=mysql > %/dev/null &
echo -n ' mysqld'
....
% uname -sr
FreeBSD 4.7-RC2
%
So this was definitely fixed before 4.7-RELEASE
So, I guess, when you upgraded your FreeBSD, you didn't upgrade the port
tree accordingly :)
Regards,
Sergei
--
MySQL Development Team
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Sergei Golubchik
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, http://www.mysql.com/
/_/ /_/\_, /___/\___\_\___/ Osnabrueck, Germany
<___/
------------------------------------------------------------ ---------
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-thread13021@lists.mysql.com
To unsubscribe, e-mail
Re: mysql-server.sh: syntax error on FreeBSD
am 18.11.2002 21:35:46 von Vicki Brown
At 16:05 +0100 2002-11-18, Sergei Golubchik wrote:
>So, I guess, when you upgraded your FreeBSD, you didn't upgrade the port
>tree accordingly :)
We updated everything. We simply did not rebuild MySQL.
--
- Vicki
Vicki Brown ZZZ Journeyman Sourceror:
P.O. Box 1269 zz |\ _,,,---,,_ Scripts & Philtres
San Bruno, CA zz /,`.-'`' -. ;-;;,_ Perl, Unix, MacOS
94066 USA |,4- ) )-,_. ,\ ( `'-'
mailto:vlb@cfcl.com '---''(_/--' `-'\_) http://www.cfcl.com/~vlb
------------------------------------------------------------ ---------
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-thread13027@lists.mysql.com
To unsubscribe, e-mail