[prev in list] [next in list] [prev in thread] [next in thread] 

List:       inet-access
Subject:    Re: MySQL problems
From:       peter green <pcg () agathongroup ! com>
Date:       2004-08-05 18:16:08
Message-ID: 20040805181607.GJ558 () agathongroup ! com
[Download RAW message or body]

* up@3.am <up@3.am> [040805 12:07]:
> Which in turn invokes the standard MySQL script:
> 
> #!/bin/sh
> 
> case "$1" in
>         start)
>                 if [ -x /usr/local/bin/safe_mysqld ]; then
>                         /usr/local/bin/safe_mysqld --user=mysql > /dev/null & &&
>  echo -n ' mysqld'

Is "... & && echo -n ' mysqld'" a valid shell line? How about (untested):

  if [ -x /usr/local/bin/safe_mysqld ]; then
    /usr/local/bin/safe_mysqld --user=mysql >/dev/null &
    if [ "$?" -eq "0" ]; then
      echo -n ' mysqld'
    fi
  fi

See if that works for you. :-)

/pg
-- 
Peter Green : Agathon Group : pcg@agathongroup.com
-------------------------------------------------------------
AC: 0666 takes the cake. Permission of the beast?
evilpenguin: Remember, this is octal. So this has nothing to do with the
  beast... unless, of course, Saint John the Devine was working in base-8,
  which, I suppose, is possible...
lysander: That'd be plausible. Maybe he lost both thumbs.
_______________________________________________
"Eat sushi frequently". - Avi
inet@inet-access.net is the human contact address.
list@inet-access.net is the list posting address.
See below URL for subscribe/unsubscribe and list options:
http://inet-access.net/mailman/listinfo/list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic