Search Postgresql Archives

Re: .pgpass being ignored

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

 



On Fri, Jun 21, 2013 at 3:41 PM, Adrian Klaver <adrian.klaver@xxxxxxxxx> wrote:
>
> First are you running the script from the location with .pgpass?

I wasn't but I copied the .pgpass into the local directory and I get
the same results.  The correct location is actually in the home
directory.

> Second you are doing a createdb, not sure how Postgres handles using .pgpass
> with database that does not exist yet?  Might want to try a '*' in the database name
> field or since it looks like it is trying to connect to the postgres database, use that
> as the database name.

The database actually exists, so createdb should fail with a "database
exists" error.  However, it didn't get there.

I took your advice anyways and it fixes the problem.  Thanks!

...Stephen


-- 
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