[6.3] MySQL server doesn't start
Manolis Kiagias
sonic2000gr at gmail.com
Sat Feb 28 09:30:11 PST 2009
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 at 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 at 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 ;)
More information about the freebsd-questions
mailing list