Date: Tue, 10 May 2005 17:16:17 -0400 (EDT) From: Paul Keyes <paul_s_keyes@yahoo.ca> To: Dan Nelson <dnelson@allantgroup.com> Cc: freebsd-questions@freebsd.org Subject: Re: starting mysql server automatically Message-ID: <20050510211617.67632.qmail@web32106.mail.mud.yahoo.com> In-Reply-To: 6667
next in thread | raw e-mail | index | archive | help
Thanks! I re-made and reinstalled the ports and things are working now. --- Dan Nelson <dnelson@allantgroup.com> wrote: > In the last episode (May 09), Paul Keyes said: > > I tried adding mysql_enable="YES" to /etc/rc.conf > and > > rebooted but sockstat -4 | grep mysql showed > nothing > > and mysql server wasn't running. > > > > Some information about my system: > > > > $uname -r > > 5.3-RELEASE > > > > $pkg_info | grep mysql > > mysql-client-5.0.3_1 Multithreaded SQL > database(client) > > mysql-server-5.0.3_1 Multithreaded SQL > database(server) > > Try building the mysql50-server and mysql50-client > ports; they come > with FreeBSD-style startup scripts. What you pasted > looks like the > generic one shipped with the source distribution, > and it doesn't look > like it got installed right: > > > if test -z "$basedir" > > then > > basedir=@prefix@ > > bindir=@bindir@ > > datadir=@localstatedir@ > > sbindir=@sbindir@ > > else > > bindir="$basedir/bin" > > sbindir="$basedir/sbin" > > fi > > The @xxx@ blocks should have been replaced with > paths to > /usr/local/something . > > -- > Dan Nelson > dnelson@allantgroup.com > ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050510211617.67632.qmail>