[Tile-serving] [openstreetmap/osm2pgsql] Cannot find file specified (Discussion #1604)

Sarah Hoffmann notifications at github.com
Tue Jan 4 10:02:40 UTC 2022


My guess is that you have removed the '-W ohdearme' from the command line before posting? '-W' does not take the password as a parameter. It just forces a prompt for the password to appear. If you want to use osm2pgsql in a script and need a password for your database, then a password file is the recommended way to do that. See the [Postgresql documentation](https://www.postgresql.org/docs/current/libpq-pgpass.html) for information on its format.

PS: I've deleted the old revision of the question now but it's been out there for a while. 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/discussions/1604#discussioncomment-1904827
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/repo-discussions/1604/comments/1904827 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20220104/c8200583/attachment.htm>


More information about the Tile-serving mailing list