➜ ~ sudo mysql.server start
Starting MySQL
. ERROR! The server quit without updating PID file (/usr/local/var/mysql/zhangzhenxingdeMacBook-Pro.local.pid).
➜ ~ sudo mysql.server start
Password:
Starting MySQL
. ERROR! The server quit without updating PID file (/usr/local/var/mysql/zhangzhenxingdeMacBook-Pro.local.pid).
神马问题呢?
怪我咯2017-04-17 13:27:39
1.
unset TMPDIR
2.
mysql_install_db --verbose --user=whoami --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp
天蓬老师2017-04-17 13:27:39
I also encountered this problem
I found many solutions on Google and Baidu, but they didn’t work. Even after installing them many times, I found that there was a problem. The system-level daemon is starting
I deleted the mysql daemon and restarted the computer. Then I started mysql.server start and it was OK