0

ここで指定されているようにpg_dumpツールを使用してダンプファイルを作成しようとしていますが、次の結果が得られ続けます。

$ PGPASSWORD=mypassword pg_dump -Fc --no-acl --no-owner -h localhost -U myuser app_db > app_db.dump
  Is the server running on host "localhost" and accepting
  TCP/IP connections on port 5432?
could not connect to server: Connection refused
  Is the server running on host "localhost" and accepting
  TCP/IP connections on port 5432?
could not connect to server: Connection refused
  Is the server running on host "localhost" and accepting
  TCP/IP connections on port 5432?

ラリーソート時にOSXLionを使用していますが、ポートを開閉する方法がわかりません。それが問題の場合は、どうすれば開くことができますか。それ以外の問題がある場合は、教えてください。それが何であるか(そしてそれを解決する方法)を教えてください

ありがとう

4

1 に答える 1

1

postgresqlをインストールして実行する必要があります

于 2013-01-25T14:13:14.200 に答える