Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 2004 13:57:47 +0000
From:      Gary Hayers <gary@hayers.org>
To:        Vonleigh Simmons <nospam@illusionart.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mysql won't start on boot
Message-ID:  <41B9AB5B.1030402@hayers.org>
In-Reply-To: <ED4C536E-48C1-11D9-B2C4-000A2791B6EC@illusionart.com>
References:  <ED4C536E-48C1-11D9-B2C4-000A2791B6EC@illusionart.com>

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



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