【发布时间】:2021-08-13 17:54:58
【问题描述】:
我在 Mac 上通过 Brew 安装了 Postgres。然后,我尝试启动它
| => brew services restart postgres
Stopping `postgresql`... (might take a while)
==> Successfully stopped `postgresql` (label: homebrew.mxcl.postgresql)
==> Successfully started `postgresql` (label: homebrew.mxcl.postgresql)
之后,我检查进程是否正在运行
(base) ________________________________________________________________________________
| ~/ @ MacBook-Pro (user)
| => ps -ef | grep postgres
501 61568 561 0 5:00PM ttys000 0:00.00 grep postgres
此外,brew services 产生以下内容
| => brew services
Name Status User Plist
dnsmasq unknown root /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
emacs stopped
postgresql error root /Library/LaunchDaemons/homebrew.mxcl.postgresql.plist
postgresql@12 stopped
rabbitmq stopped
unbound stopped
感谢任何有关如何解决此问题的帮助。
【问题讨论】:
标签: postgresql macos homebrew psql