Hmm, sorry because I must be doing something wrong then with this (with or
without `-d gis`):
```
PGSERVICEFILE=credentials-gis.pg osm2pgsql --create --slim -G --hstore
--multi-geometry --tag-transform-script openstreetmap-carto.lua -C 2500
--number-processes 2 -S openstreetmap-carto.style monaco-latest.osm.pbf
```
it says:
```
ERROR: Connecting to database failed (context=check): connection to server on
socket "/var/run/postgresql/.s.PGSQL..." failed: fe_sendauth: no password
supplied
```
Whereas this works for `psql`:
```
PGSERVICEFILE=credentials-gis.pg psql 'service=gis'
```
Perhaps there is a way to insert that `service=gis` somewhere?
--
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/discussions/2437#discussioncomment-15179357
You are receiving this because you are subscribed to this thread.
Message ID:
<osm2pgsql-dev/osm2pgsql/repo-discussions/2437/comments/[email protected]>
_______________________________________________
Tile-serving mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/tile-serving