繋がらない
./psql: error while loading shared libraries: libpq.so.5: cannot open shared object file: No such file or directory
環境設定に以下を設定する
LD_LIBRARY_PATH=/opt/CorrectMail/postgres/lib
export LD_LIBRARY_PATH
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
netstat -tlp
TCPでリスンしているもプログラムを調べる
ログインできるようにする
alter user username password 'password';
CREATE ROLE name LOGIN;
GRANT SELECT ON <テーブル名> TO <ユーザー名>;
最終更新:2011年06月27日 09:43