Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 2009 19:30:06 +0200
From:      Manolis Kiagias <sonic2000gr@gmail.com>
To:        Gilles <gilles.ganault@free.fr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: [6.3] MySQL server doesn't start
Message-ID:  <49A9749E.4000304@gmail.com>
In-Reply-To: <a7siq4lo9753djin7pge3gs0medp18nvdf@4ax.com>
References:  <a7siq4lo9753djin7pge3gs0medp18nvdf@4ax.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Gilles wrote:
> Hello
>
> I successfully updated the Ports collection to compile MySQL 5.1.22,
> but even after updating /etc/rc.conf, the server doesn't start but
> doesn't say why:
>
> ======
> # pkg_version -v | grep -i mysql
> mysql-client-5.1.22                 <   needs updating (port has
> 5.1.30)
> mysql-server-5.1.22                 <   needs updating (port has
> 5.1.30)
> ======
> # cat /etc/rc.conf 
> #BAD? mysql-server="YES"
> mysql_server="YES"
> ======
> [root@freebsd ~/www]# ps aux | grep -i mysql
> root  52112  0,0  0,1   468   336  p4  R+   18:15     0:00,00 grep -i
> mysql
> ======
> # /usr/local/etc/rc.d/mysql-server start
> [root@freebsd ~/www]# /usr/local/etc/rc.d/mysql-server status
> # 
> ======
>
> There no information in /var/log/messages either.
>
> Any idea what I could try to investigate is going on?
>
> Thank you for any tip.
>
>   
The /etc/rc.conf variable should be:

mysql_enable="YES"

It will start then ;)



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