From: Dan Nelson Date: February 21 2002 6:46pm Subject: Re: Problems finding parts of mysql on FreeBSD List-Archive: http://lists.mysql.com/mysql/100650 Message-Id: <20020221184621.GA87911@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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/.log and .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. -- Dan Nelson dnelson@stripped