ubuntu 18.04
psql (PostgreSQL) 9.5.16
PostgreSQLをインストールして、ユーザー作成したいのですが、
could not connect to database postgres: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
と出てしまいました。
ダウンロードしたときに赤字で
5432 down postgres /var/lib/postgresql/9.5/main /var/log/postgresql/postgresql-9.5-main.log
と出てきたのですがここが問題なのでしょうか?
解決方法を教えて頂ければ幸いです。
エラーメッセージはキャプチャではなく、表示された文字をそのまま質問にコピペしてください。https://teratail.com/help/question-tips#questionTips3-4-2 キャプチャは削ってください。
質問に postgresql-9.5-main.log の内容も追記しては?
共に、https://teratail.com/help/question-tips#questionTips3-7 の [コード] を使ってください。
PostgreSQLは無事立ち上がったのに、Ctr+Cか何かで落としたりしてませんか?
回答1件
あなたの回答
tips
プレビュー
