Mac如何下重启apache和mysql

mac系统下apache 和 mysql 命令:

启动apache
sudo /usr/sbin/apachectl start
重启apache
sudo /usr/sbin/apachectl restart
停止apache
sudo /usr/sbin/apachectl stop

启动mysql
sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
重启mysql
sudo /Library/StartupItems/MySQLCOM/MySQLCOM restart
停止mysql
sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop

posted on 2013-06-05 09:16  Jacky Yu  阅读(161)  评论(0编辑  收藏  举报