首页 > 解决方案 > 使用 pgAdmin 连接到 Postgres

问题描述

操作系统:macOS High Sierra
版本:10.13.6 (17G6030)

我正在阅读 Practical SQL 并且我正在尝试设置我的环境,但我遇到了以下问题。

Unable to connect to server: could not connect to server: Not a directory
Is the server running locally and accepting connections on Unix domain socket /Applications/Postgres.app/Contents/Versions/12/bin/psql/.s.PGSQL.5432?

标签: postgresqlmacos

解决方案


我使用以下视频来学习如何创建数据库并将其从 postgres 连接到 pgAdmin


推荐阅读