Trouble starting MySQL [SOLVED?]
Colin J. Raven
colin at kenmore.kozy-kabin.nl
Wed Jan 12 02:33:30 PST 2005
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
More information about the freebsd-questions
mailing list