MySQL Startup Script

Jeremy Chadwick koitsu at FreeBSD.org
Tue Mar 6 21:33:23 UTC 2007


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 |



More information about the freebsd-ports mailing list