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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 15:52:37
Original
1108 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
Latest Issues
mac use
From 1970-01-01 08:00:00
0
0
0
How to install it on Mac?
From 1970-01-01 08:00:00
0
0
0
Why doesn’t Mac have PHPstudy?
From 1970-01-01 08:00:00
0
0
0
When will phpstudy release a mac version?
From 1970-01-01 08:00:00
0
0
0
Where is the telnet option on mac computer?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template