Date: Tue, 6 Mar 2007 03:55:39 -0800 (PST) From: Drew Jenkins <drewjenkinsjr@yahoo.com> To: freebsd-ports@freebsd.org Subject: Re: MySQL Startup Script Message-ID: <551745.61262.qm@web62210.mail.re1.yahoo.com>
next in thread | raw e-mail | index | archive | help
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 <gerard= @seibercom.net>=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 <grog@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?551745.61262.qm>