赞
踩
➜ ~ mkdir -p ~/Library/LaunchAgents && cp /usr/local/Cellar/mysql/5.7.9/homebrew.mxcl.mysql.plist ~/Library/LaunchAgents/ && launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist cp: /Users/zhangzhenxing/Library/LaunchAgents/homebrew.mxcl.mysql.plist and /usr/local/Cellar/mysql/5.7.9/homebrew.mxcl.mysql.plist are identical (not copied). ➜ ~ unset TMPDIR ➜ ~ mysql_install_db --verbose --user=zhangzhenxing--basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp mysql_install_db: [ERROR] unknown variable 'tmpdir=/tmp' 2015-11-17 21:53:37 [ERROR] Unrecognized options ➜ ~ mysql.server start Starting MySQL . ERROR! The server quit without updating PID file (/usr/local/var/mysql/zhangzhenxingdeMacBook-Pro.local.pid). ➜ ~ unset TMPDIR && mysql_install_db --verbose --user=whoami--basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp mysql_install_db: [ERROR] unknown variable 'tmpdir=/tmp' 2015-11-17 21:57:42 [ERROR] Unrecognized options ➜ ~
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。