Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2007 02:46:45 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        "Greg 'groggy' Lehey" <grog@freebsd.org>
Cc:        Drew Jenkins <drewjenkinsjr@yahoo.com>, freebsd-questions@freebsd.org
Subject:   Re: MySQL Startup Script
Message-ID:  <20070306084645.GG86959@dan.emsphone.com>
In-Reply-To: <20070306075439.GB68567@wantadilla.lemis.com>
References:  <982642.10343.qm@web62209.mail.re1.yahoo.com> <20070306075439.GB68567@wantadilla.lemis.com>

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



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