From owner-freebsd-questions@FreeBSD.ORG Tue Jun 14 11:42:35 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06D1616A41C for ; Tue, 14 Jun 2005 11:42:35 +0000 (GMT) (envelope-from pcgeek86@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 747A443D49 for ; Tue, 14 Jun 2005 11:42:34 +0000 (GMT) (envelope-from pcgeek86@gmail.com) Received: by zproxy.gmail.com with SMTP id 12so213244nzp for ; Tue, 14 Jun 2005 04:42:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=jEk1f4D2wXNnTI6QuKGe+473Q0iCYi2HOJNtN22S+XwKvTbw9xPMMK7oxI70UKyFunJqUDTAzcsaas9nVuv4Y/c+pnjeXk/0/cncT8xIzmBpXlSigNu9JQORBxIQ0AyeJx3ZVif3FH41atkU3cg4rnzC3ZMIwLT71588IVKKtVo= Received: by 10.36.56.10 with SMTP id e10mr3603883nza; Tue, 14 Jun 2005 04:42:33 -0700 (PDT) Received: from ?10.100.100.15? ([66.92.128.235]) by mx.gmail.com with ESMTP id 15sm1517004nzp.2005.06.14.04.42.33; Tue, 14 Jun 2005 04:42:33 -0700 (PDT) Message-ID: <42AEC533.1070701@gmail.com> Date: Tue, 14 Jun 2005 06:53:23 -0500 From: Trevor Sullivan User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gerard Seibert References: In-Reply-To: X-Enigmail-Version: 0.91.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Starting MySQL at bootup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2005 11:42:35 -0000 -----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-----