From owner-freebsd-questions Fri Aug 17 11:35:37 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.tgd.net (rand.tgd.net [64.81.67.117]) by hub.freebsd.org (Postfix) with SMTP id B164537B409 for ; Fri, 17 Aug 2001 11:35:33 -0700 (PDT) (envelope-from sean@mailhost.tgd.net) Received: (qmail 52690 invoked by uid 1001); 17 Aug 2001 18:35:29 -0000 Date: Fri, 17 Aug 2001 11:35:29 -0700 From: Sean Chittenden To: Joseph Koenig Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Start MySQL at system startup Message-ID: <20010817113529.E51445@rand.tgd.net> References: <3B7D63D9.C141C3D0@jwebmedia.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="a1QUDc0q7S3U7/Jg" Content-Disposition: inline In-Reply-To: <3B7D63D9.C141C3D0@jwebmedia.com>; from "joe@jwebmedia.com" on Fri, Aug 17, 2001 at = 01:35:05PM X-PGP-Key: 0x1EDDFAAD X-PGP-Fingerprint: C665 A17F 9A56 286C 5CFB 1DEA 9F4F 5CEF 1EDD FAAD X-Web-Homepage: http://sean.chittenden.org/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --a1QUDc0q7S3U7/Jg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > What file do I edit to make MySQL start when my system starts up? I know > on my linux box it was /etc/rc.d/rc.local but that doesn't exist on > FreeBSD. I looked at /usr/local/etc/rc.d/ and /etc/, but didn't see > anything that looked promising (basically, i didn't want to edit the > wrong file and break my system). I looked at the mysql web site under > the starting and stopping mysql automatically section, but that didn't > really help either. Any help would be much appreciated. Thanks, If you installed mysql from the ports, it should start automatically on startup (/usr/local/etc/rc.d). What I've noticed on multiple systems will be using the init script to shut mysql down (bad database, no cookie). Check out postgres, no problems there (speed or otherwise). -sc --=20 Sean Chittenden --a1QUDc0q7S3U7/Jg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Comment: Sean Chittenden iEYEARECAAYFAjt9Y/AACgkQn09c7x7d+q3dQwCfaCYx+58QTFbG7FtiTiqJ4He1 TsMAnRpk6fBZqJyIg0qnakZNl7bVIyST =Kytn -----END PGP SIGNATURE----- --a1QUDc0q7S3U7/Jg-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message