From owner-freebsd-questions@FreeBSD.ORG Tue May 10 21:16:18 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B55916A4CE for ; Tue, 10 May 2005 21:16:18 +0000 (GMT) Received: from web32106.mail.mud.yahoo.com (web32106.mail.mud.yahoo.com [68.142.207.120]) by mx1.FreeBSD.org (Postfix) with SMTP id EB9D743D62 for ; Tue, 10 May 2005 21:16:17 +0000 (GMT) (envelope-from paul_s_keyes@yahoo.ca) Received: (qmail 67634 invoked by uid 60001); 10 May 2005 21:16:17 -0000 Message-ID: <20050510211617.67632.qmail@web32106.mail.mud.yahoo.com> Received: from [129.173.68.207] by web32106.mail.mud.yahoo.com via HTTP; Tue, 10 May 2005 17:16:17 EDT Date: Tue, 10 May 2005 17:16:17 -0400 (EDT) From: Paul Keyes To: Dan Nelson In-Reply-To: 6667 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: Chris Hodgins cc: freebsd-questions@freebsd.org Subject: Re: starting mysql server automatically X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2005 21:16:18 -0000 Thanks! I re-made and reinstalled the ports and things are working now. --- Dan Nelson 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