首页  >  文章  >  数据库  >  在MAC里启动和停止的MySQL和PostgreSQL的的指令

在MAC里启动和停止的MySQL和PostgreSQL的的指令

WBOY
WBOY原创
2016-06-07 15:52:371072浏览

alias startmysql='sudo /Library/StartupItems/MySQLCOM/MySQLCOM start' alias stopmysql='sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop' sudo -u postgres /Library/PostgreSQL/9.1/bin/pg_ctl -D/Library/PostgreSQL/9.1/data start sudo -u postg

alias startmysql='sudo /Library/StartupItems/MySQLCOM/MySQLCOM start'

alias stopmysql='sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop'


sudo -u postgres /Library/PostgreSQL/9.1/bin/pg_ctl -D/Library/PostgreSQL/9.1/data start

sudo -u postgres /Library/PostgreSQL/9.1/bin/pg_ctl -D/Library/PostgreSQL/9.1/data stop

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn