|
What could be wrong? I get this... Am I missing something? |
Answered by
lonvia
Jan 4, 2022
Replies: 1 comment 3 replies
|
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. |
3 replies
Answer selected by
Jillinger
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.