Re: PGBouncer help (how to get it working)
От | Raghavendra |
---|---|
Тема | Re: PGBouncer help (how to get it working) |
Дата | |
Msg-id | CA+h6AhiL0hdBQ6vL=cg5xRm35J69RCk1art5qGfrc6__dnKfAg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: PGBouncer help (how to get it working) (Raghavendra <raghavendra.rao@enterprisedb.com>) |
Ответы |
Re: PGBouncer help (how to get it working)
|
Список | pgsql-general |
On Fri, Apr 13, 2012 at 11:00 AM, Phoenix Kiula <phoenix.kiula@gmail.com> wrote:On Fri, Apr 13, 2012 at 2:41 AM, Scott Marlowe <scott.marlowe@gmail.com> wrote:I had already done this. Doesn't do anything. Pgbouncer starts
> On Thu, Apr 12, 2012 at 11:12 AM, Phoenix Kiula <phoenix.kiula@gmail.com> wrote:
>>
>> WARNING: password file "/root/.pgpass" has group or world access;
>> permissions should be u=rw (0600) or less
>> psql: ERROR: No such user: MYSITE_pgbouncer
>
> Pretty sure the error is just the perms on that file. Set them to
> 0600 and try again.
(service pgbouncer restart) but when I try to connect, it tells meWhere should i create the "MYSITE_pgbouncer" user?
psql: ERROR: No such user: MYSITE_pgbouncerAdd it in pgbouncer.auth file.... as per your .ini file parameter.auth_file = /var/lib/pgsql/pgbouncer.txt
Seems you already did this. I believe you are connecting as postgres user not from root, if yes, then check .pgpass file too (it will be in postgres user home directory).
--Raghav
В списке pgsql-general по дате отправления: