From owner-freebsd-questions@FreeBSD.ORG Sun Nov 25 22:01:34 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C426D16A41B for ; Sun, 25 Nov 2007 22:01:34 +0000 (UTC) (envelope-from gelsemap@superhero.nl) Received: from superman.superhero.nl (superhero.nl [82.95.198.17]) by mx1.freebsd.org (Postfix) with ESMTP id 31EB913C467 for ; Sun, 25 Nov 2007 22:01:33 +0000 (UTC) (envelope-from gelsemap@superhero.nl) Received: (qmail 98255 invoked by uid 80); 25 Nov 2007 21:34:38 -0000 Received: from robin.ad.superhero.nl ([10.202.77.103]) (SquirrelMail authenticated user gelsemap) by webmail.superhero.nl with HTTP; Sun, 25 Nov 2007 22:34:38 +0100 (CET) Message-ID: <3710.10.202.77.103.1196026478.squirrel@webmail.superhero.nl> In-Reply-To: <7E797148-F4F1-4BE8-B086-6E54B53BD2C6@gmail.com> References: <81137B0FC6F246FA30ECC1DD@paul-schmehls-powerbook59.local> <7E797148-F4F1-4BE8-B086-6E54B53BD2C6@gmail.com> Date: Sun, 25 Nov 2007 22:34:38 +0100 (CET) From: "Gelsema, P \(Patrick\)" To: "Shantanoo Mahajan" User-Agent: SquirrelMail/1.4.8 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Paul Schmehl , User Questions Subject: Re: short Q X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Nov 2007 22:01:34 -0000 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 >> 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" >