Starting MySQL at bootup

Trevor Sullivan pcgeek86 at gmail.com
Tue Jun 14 11:42:35 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Gerard Seibert wrote:

> This is probably a dumb question, but I will ask it anyway.
>
> I have 'mysql' installed. From what I have deduced from the
> documentation, I should start it using 'mysqld_safe'. I am assuming
> that I would use the syntax 'mysqld_safe &' to force the program
> into the background upon starting. What I can not seem to figure
> out is how to get the program to start automatically upon boot up.
>
I actually just got throug this last night myself...there are a couple
of ways to look at it depending on how you installed MySQL (from
source or ports tree, etc), one being the FreeBSD handbook, and the
other is the MySQL documentation. The latter provides a startup script
in the MySQL source that you simply copy to /usr/local/etc/rc.d. See
the following page for specifics:
http://dev.mysql.com/doc/mysql/en/unix-post-installation.html

Hope this helps,
Trevor
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
 
iD8DBQFCrsUzoGycRpOgdeERArnzAJ0dNnCo5CBxI+lOMB6DIwuINQ6RtgCeMPeA
KW16PhPZl8bdVujSjFb068s=
=MpZf
-----END PGP SIGNATURE-----



More information about the freebsd-questions mailing list