I got error message, when loading osm file to PostgreSQL by osm2pgsql command. I run the following command line :
osm2pgsql -c -G -U postgres --hstore -S D:\osm2pgsql\default.style -U postgres -W mypassword -d osm -r "D:\.....roads.osm"
and i got this error message:
Osm2pgsql failed due to ERROR: Open failed for 'mypassword': The system cannot find the file specified.