short Q

Gerard Seibert gerard at
Tue Nov 27 02:50:40 PST 2007

> On November 26, 2007 at 07:53PM jekillen wrote:

> > Did you install this from ports? If so. the script would have been 
> > placed
> > there all ready.
> Yes, that is what provoked the original question. I had built and 
> installed
> from source tarball in the past. But one machine was always a problem.
> Once I did install from ports I was lacking info. The startup script 
> was not
> in /etc/rc.d (although I have subsequently got into on 
> /usr/local/etc/rc.d)

That is where it belongs!

> I had followed instructions from MySQL documentation and put the script
> they supplied in /etc/rc.d; mysql.server, but for some reason the script
> did not actually start MyQSL. But the systems seems to look for some
> thing with mysql in the name and runs it if it is in /etc/rc.d. That is 
> how
> I figured out what to do. (or maybe the system will try to run anything
> that is in /etc/rc.d if there is a corresponding enable line in rc.conf 
> it
> understands). The academic question is, is the program that runs the
> startup routine, itself a script or is it a binary?
> Thanks

If you are referring to the script in '/usr/local/etc/rc.d', it is just a
plain script. You can edit it.

Is there a specific reason you installed from a tarball rather than use the
ports system? I have always installed MySQL from ports without any problems.


More information about the freebsd-questions mailing list