Skip to content

Cannot find file specified #1604

Answered by lonvia
Jillinger asked this question in Q&A
Jan 4, 2022 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

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 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.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Jillinger
Comment options

@mmd-osm
Comment options

@Jillinger
Comment options

Answer selected by Jillinger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants