Problem connecting to postgres

Поиск
Список
Период
Сортировка
От solo
Тема Problem connecting to postgres
Дата
Msg-id MGEFINBANPDICJGALBLCIEKGCAAA.solo@zoot.dnsalias.net
обсуждение исходный текст
Ответы Re: Problem connecting to postgres  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hi,

I'm having a problem when i try to connect to the database.
If i use the -h option to specify the hostname it always fails to connect.

[solo@zoot /root]$ psql -h localhost
Connection to database 'solo' failed.
connectDB() --  unknown hostname: localhost

My localhost is configured properly

[root@zoot /root]# ping -c 1 localhost
PING localhost.dnsalias.net (127.0.0.1) from 127.0.0.1 : 56(84) bytes of
data.
64 bytes from localhost (127.0.0.1): icmp_seq=0 ttl=255 time=0.3 ms

--- localhost.dnsalias.net ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 0.3/0.3/0.3 ms

Any ideas?

Kind Regards


В списке pgsql-general по дате отправления:

Предыдущее
От: "Christian Marschalek"
Дата:
Сообщение: RE: NOTICE: CREATE TABLE will create implicit trigger(s) for FOREIGN KEY check(s) ?
Следующее
От: "Gregory Wood"
Дата:
Сообщение: Re: help with serial type