[SR-Users] Kamailio PostgreSQL Asking Password Everytime
James Cloos
cloos at jhcloos.com
Sat Mar 26 00:57:16 CET 2016
>>>>> "BŞ" == Barış Şekerciler <baris.sekerciler at outlook.com> writes:
BŞ> Hello,I have one postgres server at one server and Kamailio at
BŞ> another server.So I believe I did true configuration to the
BŞ> Kamailio. Actually I made some tests and I could create user and
BŞ> authenticated etc. But I have a problem. When I tried to present
BŞ> "kamdbctl create" Kamailio asks password 50 times (almost, much or
BŞ> less idk certainly).After 50 times Db created successfully and
BŞ> works. And it looks like this:
I usually end up switching the pg config to trust when creating the db
locally.
You can also use a pgpass file (cf https://wiki.postgresql.org/wiki/Pgpass).
or export the env PGPASSWORD with the password. Ie, try:
:; env PGPASSWORD=.... kamdbctl create
replacing .... with the password.
-JimC
--
James Cloos <cloos at jhcloos.com> OpenPGP: 0x997A9F17ED7DAEA6
More information about the sr-users
mailing list