Home > Database > Mysql Tutorial > 在MAC里启动和停止的MySQL和PostgreSQL的的指令

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

WBOY
Release: 2016-06-07 15:52:37
Original
1090 people have browsed it

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

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template