Re: 60 Seconds to connected to Postgresql using ODBC or PGAdmin

From: "Usama Dar" <munir(dot)usama(at)gmail(dot)com>
To: "Shane Ambler" <pgsql(at)sheeky(dot)biz>
Cc: "Richard Broersma Jr" <rabroersma(at)yahoo(dot)com>, "Richard Huxton" <dev(at)archonet(dot)com>, "Finn Lassen" <dcio(at)axiomint(dot)com>, "General PostgreSQL List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: 60 Seconds to connected to Postgresql using ODBC or PGAdmin
Date: 2007-11-29 12:34:06
Message-ID: ff0e67090711290434k15dd3a88qd969945600faa3ed@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-odbc

Or you can try using a simple packet sniffer, maybe ,ethereal , to see if
name resolution is going on, i had similar problems with MySQL name
resolution in the past and they generally went away after disabling its name
resolution and just use IPs

On Nov 29, 2007 1:23 PM, Shane Ambler <pgsql(at)sheeky(dot)biz> wrote:

> Richard Broersma Jr wrote:
> > --- On Wed, 11/28/07, Richard Huxton <dev(at)archonet(dot)com> wrote:
> >> Name lookups. Something is trying to look up a name,
> >> failing and it's
> >> timing out after 60 seconds.
> >
> > It seems the OP's connection string was set to localhost. Would this
> still indicate a Name Loopup problem?
> >
>
> If there is no entry (or an incorrect one) in /etc/hosts for localhost -
> then yes - try to connect to 127.0.0.1 and see if that makes a difference.
>
> Also if it is set to do namelookup before referring to /etc/hosts it can
> have similar probs.
>
>
> --
>
> Shane Ambler
> pgSQL(at)Sheeky(dot)Biz
>
> Get Sheeky @ http://Sheeky.Biz
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Usama Dar 2007-11-29 12:35:26 Re: hibernate + postgresql ?
Previous Message Shane Ambler 2007-11-29 12:23:59 Re: 1 cluster on several servers

Browse pgsql-odbc by date

  From Date Subject
Next Message Greg Cocks 2007-11-29 17:11:32 Re: Hoping - is there a 'automagically' way to emulate the PK/FK, etc settings in PostgreSQL in the relationships in Access?
Previous Message Paul Lambert 2007-11-29 09:01:01 Re: 60 Seconds to connected to Postgresql using ODBC or PGAdmin