CentOSサーバにPostgreSQLサーバ8.4を正常にインストールしました。その後 が、私は「postgresの」ユーザーを使用してCentOSのサーバーにログインし、私は任意のコマンドを実行することはできません、エラーが発生します。ユーザ "postgres"のパスワード認証に失敗しました
パスワード認証は、「postgresの」
ここでユーザーに失敗しましたpg_hba.confとそのpostgresql.confの中にいくつかの構成:
--------------------configuration in postgresql.conf-----------
listen_addresses = '*'
--------------------configuration in pg_hba.conf---------------
local all all md5
local all postgres md5
host all all 127.0.0.1/32 md5
host all all ::1/128 md5
PostgresのシステムアカウントとpostgresのPostgreSQLのアカウントの違いは何ですか? Postgres PostgreSQLアカウントを使用しているかどうかを確認する方法はありますか? –
使用するパスワードを知っておく必要があります。 – Daniel
私はPostgreSQLアカウントのパスワードを使用しました。 –