Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jun 2005 06:53:23 -0500
From:      Trevor Sullivan <pcgeek86@gmail.com>
To:        Gerard Seibert <gerard-seibert@suscom.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Starting MySQL at bootup
Message-ID:  <42AEC533.1070701@gmail.com>
In-Reply-To: <Pine.WNT.4.63.0506140708580.3092@Treneq>
References:  <Pine.WNT.4.63.0506140708580.3092@Treneq>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42AEC533.1070701>