Hi
In a newly installed freebsd8 box, I did install MySQL from ports, created the system DBs, changed the root passwd and so on. Added the line
to /etc/rc.conf and it worked without a hitch. Left it running without problems.
2 weeks later had to boot the box as I was adding a external HD, and MySQL would not start.
when trying to start from cli all I get is:
have gotten to the point where I can start using mysqld_safe, but the output from the start script does not confirm it:
Can log onto mysql and the process is definitely there:
Kind of stumped right now, as google no longer provides any useful results.
Any pointers appreciated
In a newly installed freebsd8 box, I did install MySQL from ports, created the system DBs, changed the root passwd and so on. Added the line
Code:
mysql_enable="YES"
to /etc/rc.conf and it worked without a hitch. Left it running without problems.
2 weeks later had to boot the box as I was adding a external HD, and MySQL would not start.
when trying to start from cli all I get is:
Code:
/usr/local/etc/rc.d]# ./mysql-server start
Starting mysql.
su: Sorry
./mysql-server: WARNING: failed to start mysql
have gotten to the point where I can start using mysqld_safe, but the output from the start script does not confirm it:
Code:
[root@blackbox /usr/local/etc/rc.d]# ./mysql-server status
mysql is not running.
[root@blackbox /usr/local/etc/rc.d]# ./mysql-server rcvar
# mysql
mysql_enable=YES
Can log onto mysql and the process is definitely there:
Code:
[root@blackbox /usr/local/etc/rc.d]# ps waux | grep -i my
root 32562 0.0 0.1 3624 1336 1 I 9:31AM 0:00.03 /bin/sh /usr/local/bin/mysqld_safe
mysql 32682 0.0 1.6 71424 28540 1 I 9:31AM 0:00.31 /usr/local/libexec/mysqld --basedir=/usr/local --datadir=/var/db/m
root 32732 0.0 0.1 3492 984 1 S+ 9:35AM 0:00.00 grep -i my
root 31290 0.0 0.0 3284 708 4 I+ 8:21AM 0:00.02 tail -f /var/log/mysql/error.log
Kind of stumped right now, as google no longer provides any useful results.
Any pointers appreciated