Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2007 13:33:11 -0800
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        Drew Jenkins <drewjenkinsjr@yahoo.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: MySQL Startup Script
Message-ID:  <20070306213311.GA48632@icarus.home.lan>
In-Reply-To: <551745.61262.qm@web62210.mail.re1.yahoo.com>
References:  <551745.61262.qm@web62210.mail.re1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 06, 2007 at 03:55:39AM -0800, Drew Jenkins wrote:
> It was adding mysql_enable="YES" to the rc.conf script that I lacked. Oops. Thank you all.
> 
> Now, for some reason I need to keep setting the environment to get MySQL to run:
> 
> setenv LD_LIBRARY_PATH /usr/local/lib/mysql/
> 
> Can I automate this by adding it to the myslq-server script?

This isn't a good idea.  ldconfig is supposed to take care of this for you.
Can you provide the output from "ldconfig -r"?

-- 
| Jeremy Chadwick                                 jdc at parodius.com |
| Parodius Networking                        http://www.parodius.com/ |
| UNIX Systems Administrator                   Mountain View, CA, USA |
| Making life hard for others since 1977.               PGP: 4BD6C0CB |




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