- by Oleg Ivanchenko
How to start/stop/restart MySQL in Mac OS X? Very easy!
sudo launchctl load -F /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist
Note: This is a persistent setting which means that MySQL will automatically start on the next OS X start.
sudo launchctl unload -F /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist
sudo /usr/local/mysql/support-files/mysql.server start
sudo /usr/local/mysql/support-files/mysql.server stop
sudo /usr/local/mysql/support-files/mysql.server restart
Quite easy :-)
- by admin
Actually it is no so easy to restart Postfix in Mac OS X 10.8 Mountain Lion like in Linux :-)sudo launchctl unload /System/Library/LaunchDaemons/org.postfix.master.plist
sudo launchctl load System/Library/LaunchDaemons/org.postfix.master.plist