| From: | John R Pierce <pierce(at)hogranch(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: [pg_hba.conf] publish own Python application using PostgreSQL |
| Date: | 2015-07-05 19:09:58 |
| Message-ID: | 55998106.6060205@hogranch.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On 7/5/2015 3:15 AM, c(dot)buhtz(at)posteo(dot)jp wrote:
> These are the modification I have to do to make my application run with
> the connetion string "postgres://puser(at)localhost/FoobarTest".
>
> The settings are about
> the /etc/postgresql/9.3/main/pg_hba.conf file.
> There I change this line
> host all all 127.0.0.1/32 md5
> to
> host all all 127.0.0.1/32 trust
>
> I have to create a user without a password (beside the admin/postgres),
> too.
why not connect as postgres://puser:somepass(at)localhost/dbname
and create puser with a password ? that way mucking with configuration
files is not required.
--
john r pierce, recycling bits in santa cruz
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jan de Visser | 2015-07-05 19:13:41 | Re: [pg_hba.conf] publish own Python application using PostgreSQL |
| Previous Message | c.buhtz | 2015-07-05 18:58:17 | Re: [pg_hba.conf] publish own Python application using PostgreSQL |