![]() |
|
We don't bite newbies here... much | |
PerlMonks |
Re: Can't get Dancer2 Auth::Extensible with DBIC workingby erix (Prior) |
on Feb 06, 2017 at 05:15 UTC ( #1181160=note: print w/replies, xml ) | Need Help?? |
If the objective is, as I assume, to avoid having the password there (twice): PostgreSQL offers the possibility to set up postgres services, with connection-details in a so-called service-file, leading to e.g. dbi:Pg:service=dev It is also possible to setup DBI to connect using just 'dbi:Pg:', with postgres' libpq library picking up connection-info from the environment ( see PGSERVICE in the fine manual; and also: PG environmental variables ). (And there is even the DBI_DSN env var to put the 'dbi:Pg:'-part in the environment: )
In Section
Seekers of Perl Wisdom
|
|