Search Postgresql Archives

Re: dblink authentication failed

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

 



Title: RE: dblink authentication failed

I just wrote '#' to show it is command line, but actually I ran the psql as user postgres, just like the SQL server process is running. So if it was deceptive, I am sorry. 
 

 


 

-----eredeti Üzenet-----
Feladó: Francisco Olarte <folarte@xxxxxxxxxxxxxx>
Elküldött: Hétfő 2016.06.27 11:23
Tárgy: Re: dblink authentication failed
Címzett: Attila Kiss <kiss.attila@xxxxxxxxxxx>;
Másolatot kap: pgsql-general@xxxxxxxxxxxxxx;
Hello:

On Mon, Jun 27, 2016 at 9:38 AM, Kiss Attila <kiss.attila@xxxxxxxxxxx> wrote:
I'm not expert on dblink but, even supposing it uses libpq and its files:

> # psql –h 192.168.1.40 –U myuser –w remote_db_name
...
> # ls –la ./.pgpass
> -rw------- 1 postgres postgres 193 jún   24 13:54 ./.pgpass

This '#' seems to indicate you run those commands as root, while the
server typically runs as postgres. Have you checked the commands work
when issued as the server user?

Francisco Olarte.


--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[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