----- Original Message ----
From: Jerry McAllister <[EMAIL PROTECTED]>

> > >#!/bin/sh
> > >
> > >if [ -n "$LD_LIBRARY_PATH" ] ; then
> > >    export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib/mysql"
> > >else
> > >    export LD_LIBRARY_PATH="/usr/local/lib/mysql"
> > >fi
> >
> > I put that in the /usr/local/etc/rc.d/mysql-server script
> > (which is #!/bin/sh) but it didn't work :(
> 
> Does the script even run?

Yes. It was only when I put this script in that mysql came up on boot.

> Try putting some echo-s in their and see if anything happens.

I did that. I found out BTW that it executes the "if" part of the above, not 
the "else" part.

> What are the permissions and ownership of the /usr/local/etc/rc.d/mysql-server
> script file?

# ls -al /usr/local/etc/rc.d/mysql-server
-r-xr-xr-x  1 root  wheel  1824 Mar  7 11:29 /usr/local/etc/rc.d/mysql-server

TIA,
Drew





 
____________________________________________________________________________________
TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to