Skip to content

osm2pgsql-replication init - putting DB password into command #1747

Answered by joto
serpikovs asked this question in Q&A
Discussion options

You must be logged in to vote

The option -W doesn't take the password as argument on the command line, it means "ask for password interactively". Please read https://osm2pgsql.org/doc/manual.html#database-connection for details on all the different ways of specifying how to connect to the database.

Putting passwords in scripts isn't something I'd recommend.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@serpikovs
Comment options

@lonvia
Comment options

Answer selected by serpikovs
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