[ubuntu-jp:2332] Re: ubuntu9.10でのPHP+PostgreSQL開発について
Toshio KANEKO
kim-t @ r3.dion.ne.jp
2009年 11月 26日 (木) 11:01:41 GMT
金子@東京足立です。
ひとつ試しました。
接続できないDBとは別のMovableType用のDBに対してPHPで接続したところ
正常終了しました。
また、PHPで接続できないDBのテーブルはpgAdminでテーブルの内容が見れています。
HOTTA Michihide さんは書きました:
> 堀田@長崎市です。
>
> (UTF-8に変換)
> $ php -r 'pg_connect("host=localhost ...");' 2>&1 | nkf -w
>
> (EUC-JPに変換)
> $ php -r 'pg_connect("host=localhost ...");' 2>&1 | nkf -e
>
> (Shift_JIS に変換)
> $ php -r 'pg_connect("host=localhost ...");' 2>&1 | nkf -s
>
> (JIS に変換)
> $ php -r 'pg_connect("host=localhost ...");' 2>&1 | nkf -j
kim @ Gundam:~$ php -r 'pg_connect("host=localhost dbname=kimland
user=postgres password=postgres port=5432");' 2>&1 | nkf -w
Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL:
???"postgres"??????????????? in Command line code on line 1
という結果です。
wもeもsもjも同じ結果でした。
ubuntu-jp メーリングリストの案内