Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 2004 16:18:02 -0700
From:      Sam Nilsson <sam@servingpeace.com>
To:        ports@FreeBSD.org
Subject:   Re: FreeBSD Port: mysql-serv
Message-ID:  <4176F22A.9000306@servingpeace.com>
In-Reply-To: <BAY18-F23CXRmmIPn1000000712@hotmail.com>
References:  <BAY18-F23CXRmmIPn1000000712@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Heitmeier wrote:

> just installed mysql-server-4.1.6 (upgrade after an uninstall of 4.1.5) 
> and can for the life of me not figure out why it does not start from
> /usr/local/etc/rc.d/mysql_server start

from /usr/ports/UPDATING:
20041019:
   AFFECTS: users of databases/mysql41-server
   AUTHOR: ale@FreeBSD.org

   The MySQL Daemon must now be enabled / disabled in rc.conf.
   See the script for details.

What does this mean? Make sure the following line is listed in /etc/rc.conf:

mysql_enable="YES"

I've noticed a lot of ports that I use have started adding the 
requirement above. Make sure to read /usr/ports/UPDATING every time you 
upgrade or install ports.

Also, any time a script in /usr/local/etc/rc.d/ doesn't work, read the 
script. From the /usr/local/etc/rc.d/mysql-server.sh script:

# Add the following line to /etc/rc.conf to enable mysql:
# mysql_enable (bool):          Set to "NO" by default.
#                               Set it to "YES" to enable MySQL.
# mysqllimits_enable (bool):    Set to "NO" by default.
#                               Set it to yes to run `limits $limits_args`
#                               just before mysql starts.
# mysqllimits_args (str):       Default to "-e -U mysql"
#                               Arguments of pre-start limits run.
#

Peace
- Sam Nilsson



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