- 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 adminOnce I have got this problem with samba in Oracle Linux 6 (the same I could reproduce in RedHat 6 as well):
smbd/server.c:501(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use