[pgsql-jp: 26912] Re: レンタルサーバーのpostgres
Masashi Ohba
ohba @ intelight.co.jp
2002年 8月 5日 (月) 13:33:51 JST
大場です。
多少順番入れ替えますが
zzaazz @ rose.freemail.ne.jp wrote;
>運用しているのですが、このcobaltが標準でpostgreSQLが
>入っているのですが、どうやってもユーザーの追加やDBが作れません。
PostgreSQLの操作で
>[root /root]# host all 127.0.0.1 255.255.255.255 trust
>host: usage error (extra undefined arguments)
>Usage: host [-adlrwv] [-t querytype] [-c class] host [server]
> -a is equivalent to '-v -t *'
> -c class to look for non-Internet data
> -d to turn on debugging output
> -l to turn on 'list mode'
> -r to disable recursive processing
> -s recursively chase signature found in answers
> -t querytype to look for a specific type of information
> -v for verbose output
> -w to wait forever until reply
までのhostコマンドを使って何をしたいのか
よくわかりませんが、ここで何をしたいんですか?
>psql: No pg_hba.conf entry for host localhost, user postgres, database template1
なので、pg_hba.confの設定が適当かどうか
見なおしたらどうでしょう?
>レンタルサーバーでpostgresをユーザーに提供しようとするときは
>postgresのユーザーの追加とDBの作成をしてあげるだけで
>良いのでしょうか?
そんなことはレンタルサーバとレンタルしてないサーバに
差があるようには思えませんけど…
>どうやってユーザーにpostgreSQLを提供すればいいのかわからなくなって
Webでのインターフェースを「自作」するとか
------------------------------------------------------------
大場正志(Masashi Ohba)
E-Mail ohba @ intelight.co.jp
(株) インテライト
http://www.intelight.co.jp
------------------------------------------------------------
pgsql-jp メーリングリストの案内