mysql rc.d script

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Wed Apr 19 21:41:02 UTC 2006


"Vlad GURDIGA" <gurdiga at gmail.com> writes:

> I have a FreeBSD 6-current build from almost the most recent source.
> I have installed mysql41-server port and observed a strange behaviour:
> as usual, I only have to put the mysqld_enable="yes" in my
> /etc/rc.conf to have mysql server started at boot, but this time it
> did not work. I've checked the script mode and it was OK, just like
> other scripts in there, and like the Apache starter script that worked
> fine and after i put enable_apache="YES" in rc.conf.
> 
> The only difference between mysql server starter script and others was
> the missing ".sh" suffix. After I renamed mysql-server to
> mysql-server.sh everything worked fine.
> 
> Is that OK?

It should be okay.  It changes the way that the script is called a bit
(details in "man rc"), but start and stop should be fine.  Just be
careful when you upgrade.


More information about the freebsd-questions mailing list