Sorry, I typoed, that should have been mysqld.pid. Does OS X have a /var/run/mysqld/mysqld.pid?
About init.d, I guess that's not an OS X thing. There are startup scripts somewhere, and the path to the pid file may be in the one for mysqld, but I have no idea where that sort of thing is on OS X, sorry. -glenn On Fri, Jul 29, 2011 at 12:43 PM, Scott Olmsted <[email protected]> wrote: > $ locate mysql.pid > > WARNING: The locate database (/var/db/locate.database) does not exist. > ..... [not going to create that database now] > > so let's try > > $ find / -name mysql.pid > > produces nothing, and > > $ find / -name init.d > > also produces nothing. > > How do I uninstall and reinstall mysql in Homebrew? > > > On Jul 29, 12:24 pm, Glenn Little <[email protected]> wrote: >> If mysql is not running, you can just remove the pid file. If you can >> find it. Here (centos linux), it's in /var/run/mysqld/mysql.pid If >> it's not there, check your mysqld startup file for a clue >> (/etc/init.d/mysqld, again, here... not sure where it might be on your >> OS). Or try a "locate mysqld.pid". >> >> Delete the file, and try restarting your mysql service. >> >> -glenn > > -- > SD Ruby mailing list > [email protected] > http://groups.google.com/group/sdruby > -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby
