【发布时间】:2019-05-06 02:45:54
【问题描述】:
从terminal 和Homebrew 安装PostgreSQL 后...
➜ ~ brew link postgresql
Warning: Already linked: /usr/local/Cellar/postgresql/11.2_1: 3,186 files, 35.3MB
To relink: brew unlink postgresql && brew link postgresql
➜ ~ brew services 重启 postgresql
Successfully stopped postgresql (label: homebrew.mxcl.postgresql)
Successfully started postgresql (label: homebrew.mxcl.postgresql)
➜ ~ createdb 'test'
createdb: could not connect to database template1: could not connect to server: No server file or directory
Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
我希望能够严格从终端运行,并且不受使用 PSequel GUI...
谢谢,
【问题讨论】:
标签: postgresql terminal homebrew