starting mysql server automatically

Paul Keyes paul_s_keyes at yahoo.ca
Tue May 10 14:16:18 PDT 2005


Thanks!

I re-made and reinstalled the ports and things are
working now.

--- Dan Nelson <dnelson at 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 at allantgroup.com
> 

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca


More information about the freebsd-questions mailing list