Home > インターネット > postgresqlに外部から接続、メモ。

postgresqlに外部から接続、メモ。

PostgreSQL 8.3@EC2の場合。

1.pg_hba.conf に次の1行を追加。

host    all         all         [接続元IP]        md5

2.postgresql.conf の以下の部分を編集。

listen_addresses = ‘*’
port = 5432

3.ポスグレ再起動

pg_ctl restart

4.EC2のSecurity Groupsに接続元IP指定でpostgresqlのポートを追加。

つながりましたよ~

Comments:0

Comment Form
Remember personal info

Trackbacks:0

Trackback URL for this entry
http://www.ogaworks.com/archives/1976/trackback
Listed below are links to weblogs that reference
postgresqlに外部から接続、メモ。 from ogaworks

Home > インターネット > postgresqlに外部から接続、メモ。

近所のガソリン価格

gogo.gs
ガソリン価格情報

gogo.gs
Amazon
nakanohito

Return to page top