When starting mysql daemon with
mysql.server
script, it showed error message likeERROR! The server quit without updating PID file (/usr/local/var/mysql/data/*********.pid).
The new homebrew instruction to install mysql makes its default $datadir
to be $basedir/data
but the setting of $datadir
in mysql.server
line 70 didn't be fixed to corresponded to the change.Adjust
$datadir
in script or just use boot parameter --data-dir=/usr/local/Cellar/mysql/5.5.10/data/
makes mysql.server
work.