Search Postgresql Archives

Socket error instead of Access denied

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



One thing I forgot.

The errors occur when I use psql.exe with the -U paramter

---------- Forwarded message ----------
From: Serge Fonville <serge.fonville@xxxxxxxxx>
Date: Fri, Oct 10, 2008 at 3:00 PM
Subject: Fwd: Socket error instead of Access denied
To: pgsql-general <pgsql-general@xxxxxxxxxxxxxx>


Sorry about that, submitted it to early.

Here goes again:

Recently I started to move from MySQL to PostgreSQL.
When I had it set up on windows, I enabled ssl and everything worked like a charm.
My pg_hba.conf looks like this:
hostssl   all                 postgres           127.0.0.1/32   md5
hostssl   ticketsystem  ticketsystem    127.0.0.1/32   md5
hostssl   faq                 faq                  127.0.0.1/32   md5
hostssl   all                  postgres          ::1/128           md5
hostssl   ticketsystem  ticketsystem    ::1/128           md5
hostssl   faq                 faq                  ::1/128           md5

If I access the database to which the user has access, no problem, If I use the user faq to connecto to ticketsystem I'd exect an access denied of some sort, instead I get:
could not receive data from server: Unknown socket error (0x00000002/2)
Previous connection kept

Is this due to the SSL connection, or is it related to some other error
And is it 'fixable'
I already searched the mailing list and google, but to no avail.

Thanks in advance

Serge Fonville


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux