If the mysql log (per Brandon's suggestion) doesn't show anything useful, you can always try strace on the mysqld executable directly. Something along the lines of:

sudo -i

# stop mysql clean, figure out how your system starts it up
/etc/init.d/mysql stop
mysql_flags=$(/etc/init.d/mysql --debug start 2>&1 | grep 'starting mysqld with' | cut -f 2- -d:)
/etc/init.d/mysql stop

# manually run mysql, through strace to see what's going on
emerge -av strace
strace /usr/sbin/mysqld $mysql_flags 2>&1 | tee /tmp/strace.mysql.out

exit


Then the log file /tmp/strace.mysql.out might show a SEGV or some other bad bad problem.

bishop

--
Bishop Bettini
ideacode, Inc.
(main) +1 919 341 5170 / (fax) +1 919 521 4100

CELEBRATING 10 YEARS OF GREAT SOFTWARE!


Reply via email to