osx – Postgres.app无法启动端口5432
发布时间:2020-12-13 16:42:54 所属栏目:百科 来源:网络整理
导读:我使用的是 http://postgresapp.com.在菜单栏中,它提供了错误“无法在端口5432上启动”。同样,如果我尝试从终端启动服务器,我得到: psql: could not connect to server: No such file or directory Is the server running locally and accepting connect
我使用的是
http://postgresapp.com.在菜单栏中,它提供了错误“无法在端口5432上启动”。同样,如果我尝试从终端启动服务器,我得到:
psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? 我也运行pg_ctl -D /usr/local/var / postgres -l /usr/local/var/postgres/server.log start
你有我的另一个postgres运行的实例,这是唯一的应用程序感兴趣的这个端口。您应该使用netstat和ps来确定这一点。然后停止实例并卸载它,您可以安装enterpiseDb,就是我所做的。
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |