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

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

©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页