PID error on mysql.server start?

后端 未结 7 1590
名媛妹妹
名媛妹妹 2020-12-01 03:19

I\'ve just tried installing MySQL using homebrew (on Mac OS X 10.6), but I\'ve run across an issue at the first hurdle. When trying to manually start the server (mysql.serve

7条回答
  •  暖寄归人
    2020-12-01 04:04

    These following two commands should solve your issue.

    > unset TMPDIR
    > mysql_install_db --verbose --user=\`whoami\` --basedir="$(brew
    --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp
    

提交回复
热议问题