brew install mysql
Starting MySQL
. ERROR! The server quit without updating PID file
------------
1,unset TMPDIR
2,mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp
3,sudo chown -R mysql /usr/local/var/mysql/
link: http://stackoverflow.com/questions/4963171/mysql-server-startup-error-the-server-quit-without-updating-pid-file
本文提供了解决MySQL启动错误的方法,包括重置TMPDIR、使用mysql_install_db工具、调整权限和目录路径等步骤。适用于MySQL安装和故障排除。
913

被折叠的 条评论
为什么被折叠?



