In the last episode (Feb 21), Luc Foisy said:
> Ok. I do indeed have /usr/local/etc/rc.d/mysql-server.sh
> And oops I do have /usr/local/libexec/mysqld
> Are these supposed to be started up automatically?
> I tried to run /usr/local/etc/rc.d/mysql-server.sh start
> TMCBSD101# mysql-server.sh start
> mysql-server.sh: Command not found.
> TMCBSD101# ./mysql-server.sh start
> TMCBSD101# ps -ax
> TMCBSD101# mysql
> ERROR 2002: Can't connect to local MySQL server through socket
> '/tmp/mysql.sock' (61)
Take a look at /var/db/mysql/<hostname>.log and <hostname>.err; it
looks like mysql might have exited immediately after it was started.
> /usr/local/bin/safe_mysqld & -user=mysql > /dev/null
> will load the mysql server. So why is this not performed at start up?
> And if this script is used, what is mysqld used for??
safe_mysqld calls mysqld and loops so that if mysqld died unexpectedly
it is restarted.