Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Nov 2007 22:34:38 +0100 (CET)
From:      "Gelsema, P \(Patrick\)" <gelsemap@superhero.nl>
To:        "Shantanoo Mahajan" <shantanoo@gmail.com>
Cc:        Paul Schmehl <pauls@utdallas.edu>, User Questions <freebsd-questions@freebsd.org>
Subject:   Re: short Q
Message-ID:  <3710.10.202.77.103.1196026478.squirrel@webmail.superhero.nl>
In-Reply-To: <7E797148-F4F1-4BE8-B086-6E54B53BD2C6@gmail.com>
References:  <e2005ddcdb441d48c0dfd4d6ebadbab9@prodigy.net> <81137B0FC6F246FA30ECC1DD@paul-schmehls-powerbook59.local> <7E797148-F4F1-4BE8-B086-6E54B53BD2C6@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, November 25, 2007 21:18, Shantanoo Mahajan wrote:
>
> On 26-Nov-07, at 1:23 AM, Paul Schmehl wrote:
>
>> --On November 23, 2007 9:04:01 PM -0800 jekillen
>> <jekillen@prodigy.net> wrote:
>>
>>> Hello:
>>> Is this the way to start mysqld in rc.conf?
>>> mysqld_enable="YES"

head /usr/local/etc/rc.d/mysql-server
#
# 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.
# mysql_limits (bool):  Set to "NO" by default.
#                       Set it to yes to run `limits -e -U mysql`
#                       just before mysql starts.
# mysql_dbdir (str):    Default to "/var/db/mysql"
#                       Base database directory.
# mysql_args (str):     Custom additional arguments to be passed
#                       to mysqld_safe (default empty).


Cheers

Patrick

>>>
>> Most ports that have daemons will have startup scripts in /usr/
>> local/etc/rc.d/.  Most of those scripts will include comments about
>> what switches are required in /etc/rc.conf to start the daemon.
>> Look there first for instructions.
>>
>> If you look at the mysqld startup script in /usr/local/etc/rc.d,
>> you will notice that it says use msyqld_enable="YES" in /etc/rc.conf.
>
> I do not have freebsd machine around to verify, but iirc, its
> 'mysql_enable'
> and not 'mysqld_enable'.
>
> regards,
> shantanoo
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
>




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