Date: Wed, 12 Jan 2005 11:33:21 +0100 From: "Colin J. Raven" <colin@kenmore.kozy-kabin.nl> To: "Walker, Michael" <Michael.Walker2@capita.co.uk> Cc: "Freebsd-Questions \(E-mail\)" <freebsd-questions@freebsd.org> Subject: RE: Trouble starting MySQL [SOLVED?] Message-ID: <20050112112709.F802@kenmore.kozy-kabin.nl> In-Reply-To: <20050112111442.L802@kenmore.kozy-kabin.nl> References: <A95E24C61BD9D611AF6200080255E43A0BC06588@CAPITAEMAIL02> <20050112111442.L802@kenmore.kozy-kabin.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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. >> >> <snip> >> >> 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. <sigh> -Colin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050112112709.F802>