Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with data import: fe_sendauth: no password supplied #283

Closed
curiousaboutgis opened this issue Jul 15, 2020 · 3 comments
Closed

Issue with data import: fe_sendauth: no password supplied #283

curiousaboutgis opened this issue Jul 15, 2020 · 3 comments

Comments

@curiousaboutgis
Copy link

Hello! I am trying to start osm2pgrouting by loading osm data into it, but I get the following error message:

osm2pgrouting --f your-OSM-XML-File.osm --conf mapconfig.xml --dbname routing --username postgres --clean

Execution starts at: Tue Jul 14 15:40:48 2020
` COMMAND LINE CONFIGURATION *
Filename = your-OSM-XML-File.osm
Configuration file = mapconfig.xml
host = localhost
port = 5432
dbname = routing
username = postgres
schema=
prefix =
suffix =
Drop tables
Don't create indexes
Don't add OSM nodes

Testing database connection: routing
fe_sendauth: no password supplied
`
This is postgres issue apparently, how could I supply it with password?

@cayetanobv
Copy link
Member

Hi @curiousaboutgis . You need to add -W argument with your password.

@curiousaboutgis
Copy link
Author

curiousaboutgis commented Jul 15, 2020

Hi @curiousaboutgis . You need to add -W argument with your password.

Omg thanks God, it worked. I mean I tried before, but my password for postgres contained symbols like !,1234, and it was written as !,1234, event not recognized. I had to change my password by choosing just letter symbols and it worked!
But now it worked thanks god!

@curiousaboutgis
Copy link
Author

the whole command should look like:
osm2pgrouting --f your-OSM-XML-File.osm --conf mapconfig.xml --dbname routing --username postgres -W yourpassword --clean

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants