From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 10:33:30 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 AD78016A4CF for ; Wed, 12 Jan 2005 10:33:30 +0000 (GMT) Received: from t-x.dignus.nl (t-x.dignus.nl [83.219.88.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30CC843D1D for ; Wed, 12 Jan 2005 10:33:30 +0000 (GMT) (envelope-from colin@kenmore.kozy-kabin.nl) Received: from localhost (localhost.dignus.nl [127.0.0.1]) by t-x.dignus.nl (Safehouse) with ESMTP id 1FFE52841C; Wed, 12 Jan 2005 11:33:45 +0100 (CET) Received: from kenmore.kozy-kabin.nl (cjr-home [62.251.72.148]) by t-x.dignus.nl (Safehouse) with ESMTP id 903C42841A; Wed, 12 Jan 2005 11:33:40 +0100 (CET) Received: from kenmore.kozy-kabin.nl (localhost.kozy-kabin.nl [127.0.0.1]) by kenmore.kozy-kabin.nl (Postfix) with ESMTP id 069E2610A; Wed, 12 Jan 2005 11:33:22 +0100 (CET) Received: from localhost (colin@localhost)j0CAXLcU002406; Wed, 12 Jan 2005 11:33:21 +0100 (CET) (envelope-from colin@kenmore.kozy-kabin.nl) Date: Wed, 12 Jan 2005 11:33:21 +0100 From: "Colin J. Raven" To: "Walker, Michael" In-Reply-To: <20050112111442.L802@kenmore.kozy-kabin.nl> Message-ID: <20050112112709.F802@kenmore.kozy-kabin.nl> References: <20050112111442.L802@kenmore.kozy-kabin.nl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by RemSPAMd at ph230.plushosting.nl cc: "Freebsd-Questions \(E-mail\)" Subject: RE: Trouble starting MySQL [SOLVED?] 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: Wed, 12 Jan 2005 10:33:30 -0000 On Jan 12 at 11:17, Colin J. Raven launched this into the bitstream: > On Jan 12 at 09:35, Walker, Michael suggested: > >> >> I installed MySQL from ports (mysql-4.1.7) >> then tried to start it. Nothing doing - wo way. >> >> Starting it from /usr/loca/etc/rc.d/mysql-server.sh nothing happens. No >> error message is emitted, but no running instance of mysql either. >> >> >> >> Read /usr/loca/etc/rc.d/mysql-server.sh you now have to start mysqld from >> your rc.conf file. >> > OK, I added the necessary stuff to /etc/rc.conf and attempted to start > mysql via the mysql-server.sh script. Nothing doing. > > I rebooted the box, checked to see if mysql was running. It wasn't. > > I attempted once more to start it from the script - Nothing. > > OK, I'm back to where I started. BUT I pulled up webmin | Servers | MySQL Server adjusted paths to where stuff lives, hit "Start MySQL Server" and seemingly MySQL is now running. To wit: root 1329 0.0 0.1 1652 1208 ?? I 11:26AM 0:00.01 /bin/sh /usr/local/bin/mysqld_safe --user=mysql mysql 1347 0.0 2.5 55852 25832 ?? S 11:26AM 0:00.14 /usr/local/libexec/mysqld --basedir=/usr/local --datadir=/var/ colin 1359 0.0 0.1 1476 896 p2 S+ 11:26AM 0:00.00 grep mysql Good, but I'm just puzzled why/how this worked from webmin. It doesn't make sense. One thing, it started mysql as can be seen above from /usr/local/bin/mysqld_safe, which sure 'aint the script way. Then again, the "script way" from CLI didn't work. -Colin