From owner-freebsd-questions@FreeBSD.ORG Fri Dec 10 13:58:10 2004 Return-Path: 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 AE4D616A4CE for ; Fri, 10 Dec 2004 13:58:10 +0000 (GMT) Received: from wenn.com (cube1.wenn.com [195.157.139.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B175343D58 for ; Fri, 10 Dec 2004 13:58:09 +0000 (GMT) (envelope-from gary@hayers.org) Received: from [10.0.0.2] (fw.wenn.com [195.157.139.125]) by smtp.wenn.com (8.10.2/8.10.2) with ESMTP id iBADvqo26528; Fri, 10 Dec 2004 13:57:52 GMT Message-ID: <41B9AB5B.1030402@hayers.org> Date: Fri, 10 Dec 2004 13:57:47 +0000 From: Gary Hayers User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Vonleigh Simmons References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: mysql won't start on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2004 13:58:10 -0000 Vonleigh Simmons wrote: > After updating to 5.3 MySQL won't start at boot time. I read > UPDATING and it says to include a line in /etc/rc.conf. But even after > adding that line: > > # grep mysql /etc/rc.conf > mysql_enable="YES" > > It still won't start up on its own after I reboot. However doing: > > # /usr/local/bin/mysqld_safe --user=mysql --datadir=/var/db/mysql > --pid-file=/var/db/mysql/my_hostname.pid Ok forget that last question, I found the answer, check the startup script is running the correct command, I found that in the start up script the command wasnt right ie. command="/usr/local/bin/safe_mysqld" So I changed it to: command="/usr/local/bin/mysqld_safe" Regards, Gary Hayers