From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 08:47:02 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1FC2016A402 for ; Tue, 6 Mar 2007 08:47:02 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id D9B1713C494 for ; Tue, 6 Mar 2007 08:46:51 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan@localhost [127.0.0.1]) by dan.emsphone.com (8.14.0/8.13.8) with ESMTP id l268kkD8045590 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 6 Mar 2007 02:46:46 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.0/8.14.0/Submit) id l268kjsP045589; Tue, 6 Mar 2007 02:46:45 -0600 (CST) (envelope-from dan) Date: Tue, 6 Mar 2007 02:46:45 -0600 From: Dan Nelson To: "Greg 'groggy' Lehey" Message-ID: <20070306084645.GG86959@dan.emsphone.com> References: <982642.10343.qm@web62209.mail.re1.yahoo.com> <20070306075439.GB68567@wantadilla.lemis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070306075439.GB68567@wantadilla.lemis.com> X-OS: FreeBSD 6.2-STABLE User-Agent: Mutt/1.5.14 (2007-02-12) Cc: Drew Jenkins , freebsd-questions@freebsd.org Subject: Re: MySQL Startup Script 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, 06 Mar 2007 08:47:02 -0000 In the last episode (Mar 06), Greg 'groggy' Lehey said: > [Moving to -questions; this isn't really a ports issue] > > On Monday, 5 March 2007 at 23:28:53 -0800, Drew Jenkins wrote: > > I built MySQL 5.1 from port on FBSD 6.2. But it doesn't start up on > > boot. There's a mysql-server script in /usr/local/etc/rc.d/ but if > > I try and fire that up from the command line it doesn't start. What > > do I need to do? > > You could start by saying how you invoked the script and what happened > when you tried. You should see: > > # /usr/local/etc/rc.d/mysql-server start > Starting mysql. Also make sure you have mysql_enable="YES" in your rc.conf file, since it's an rc.subr-style startup script. See the mysql-server script itself for more options. -- Dan Nelson dnelson@allantgroup.com