在MAC里启动和停止的MySQL和PostgreSQL的的指令
程序员文章站
2022-06-02 08:06:54
...
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
上一篇: 开源进销存PSI