Обсуждение: Windows psql.exe password from pgpass.conf

Поиск
Список
Период
Сортировка

Windows psql.exe password from pgpass.conf

От
laurentpointca@gmail.com
Дата:
Postgres 8.1 on a windows machine.

I followed instructions and went to APPDIR to setup the file
pgpass.conf:
*   *   myuser   mypass

I also tried: *   *   databasename    myuser   mypass

I also tried: *:*:myuser:mypass

When i start psql -U myuser, it always requests that I type the
password. What could be wrong? I've found very little information
regarding the pgpass.conf file...

thank you


Re: Windows psql.exe password from pgpass.conf

От
"Laurent"
Дата:
Apparently I forgot one combination, which was the correct one. For
reference:

localhost:*:databasename:username:password