さかもつ備忘録

Thursday, March 22, 2007

PostgreSQL+PHP初期設定

◆TCP/IP接続許可
接続制御を設定するファイルが、postgresql.conf ファイル
→PostgreSQL の data ディレクトリに入っています
#tcpip_socket = false
tcpip_socket = true

アクセス制御を設定するファイルが、pg_hda.confファイル
→PostgreSQL の data ディレクトリに入っています

local all trust
host all 127.0.0.1 255.255.255.255 trust

0 Comments:

Post a Comment

<< Home