sudo vi /Library/LaunchDaemons/com.mysql.mysql.plist
KeepAlive
Label
com.mysql.mysqld
ProgramArguments
/usr/local/mysql/bin/mysqld_safe
--user=root
xml中的/usr/local/mysql/为MYSQL所在目录
sudo launchctl load -w /Library/LaunchDaemons/com.mysql.mysql.plist 这样就可以了!!!!
唉!mac系统问题软件都不能用了。。。