From owner-freebsd-ports@FreeBSD.ORG Tue Mar 6 11:55:40 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B983516A401 for ; Tue, 6 Mar 2007 11:55:40 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: from web62210.mail.re1.yahoo.com (web62210.mail.re1.yahoo.com [69.147.75.9]) by mx1.freebsd.org (Postfix) with SMTP id 671E713C442 for ; Tue, 6 Mar 2007 11:55:40 +0000 (UTC) (envelope-from drewjenkinsjr@yahoo.com) Received: (qmail 62172 invoked by uid 60001); 6 Mar 2007 11:55:39 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=VdvrQUJfQB9GKaWEFG+FWDjzCNJyV7hAv7NKEA+XUoeqgtzGkkSCi3Yt0DSoxi57lQblYs+mN7qDB73bDWmvQJTtD+3Df9iG/gMZfaNvVH2emL06eCDz2Qj9Jv3Qh2D8AQmOzvokd50i26P0TNjJZ+R4MspRoO020ssZpt2Q5uc=; Received: from [67.46.93.3] by web62210.mail.re1.yahoo.com via HTTP; Tue, 06 Mar 2007 03:55:39 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Tue, 6 Mar 2007 03:55:39 -0800 (PST) From: Drew Jenkins To: freebsd-ports@freebsd.org MIME-Version: 1.0 Message-ID: <551745.61262.qm@web62210.mail.re1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: MySQL Startup Script X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 11:55:40 -0000 It was adding mysql_enable=3D"YES" to the rc.conf script that I lacked. Oop= s. Thank you all.=0A=0ANow, for some reason I need to keep setting the envi= ronment to get MySQL to run:=0A=0Asetenv LD_LIBRARY_PATH /usr/local/lib/mys= ql/=0A=0ACan I automate this by adding it to the myslq-server script?=0ATIA= ,=0ADrew=0A=0A=0A----- Original Message ----=0AFrom: Gerard Seibert =0ATo: freebsd-questions@freebsd.org=0ASent: Tuesday, March = 6, 2007 6:47:53 AM=0ASubject: Re: MySQL Startup Script=0A=0AOn Tue, 6 Mar 2= 007 18:24:39 +1030=0AGreg 'groggy' Lehey wrote:=0A=0A> O= n Monday, 5 March 2007 at 23:28:53 -0800, Drew Jenkins wrote:=0A> > I buil= t MySQL 5.1 from port on FBSD 6.2. But it doesn't start up on=0A> > boot. T= here's a mysql-server script in /usr/local/etc/rc.d/ but if I=0A> > try and= fire that up from the command line it doesn't start. What do=0A> > I need = to do? =0A> =0A> You could start by saying how you invoked the script and = what happened=0A> when you tried. You should see:=0A> =0A> # /usr/local/= etc/rc.d/mysql-server start=0A> Starting mysql.=0A=0AHave you bothered to= place the proper directive in the '/etc/rc,conf'=0Afile; i.e., =0A=0A M= YSQL_ENABLE=3Dyes=0A=0AOtherwise, if you want to start it from the command = line sans that=0Astatement, you will have to use:=0A=0A /usr/local/etc/r= c.d/mysql-server force=0A=0ACheck out the mysql script in /usr/local/etc/rc= .d for further details.=0A=0A=0A-- =0AGerard=0A=0AMy mother loved children = -- she would=0Ahave given anything if I had been one.=0A=0A Groucho Marx= =0A=0A=0A=0A=0A=0A=0A=0A =0A_______________________________________________= _____________________________________=0ABored stiff? Loosen up... =0ADownlo= ad and play hundreds of games for free on Yahoo! Games.=0Ahttp://games.yaho= o.com/games/front