osm2pgsql throws error

Hey guys,

I am trying to import data from a .osm file to a PostgreSQL database.

I have set up my PostgreSQL database like this:

http://learnosm.org/en/osm-data/setting-up-postgresql/

and now I am trying to execute this command:

osm2pgsql -c -d osm -U postgres --password root -k -H localhost -S "C:\OSM_GERMANY_DATA\default.style" output.osm

Name of the database, user, password and host are correct but I am getting this error when I fill in “root” in the

Password:

promt:

Password:
Using projection SRS 900913 (Spherical Mercator)
cygwin warning:
  MS-DOS style path detected: C:\OSM_GERMANY_DATA\default.style
  Preferred POSIX equivalent is: /cygdrive/c/OSM_GERMANY_DATA/default.style
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
Setting up table: planet_osm_point
HINWEIS:  Tabelle »planet_osm_point« existiert nicht, wird übersprungen
HINWEIS:  Tabelle »planet_osm_point_tmp« existiert nicht, wird übersprungen
Setting up table: planet_osm_line
HINWEIS:  Tabelle »planet_osm_line« existiert nicht, wird übersprungen
HINWEIS:  Tabelle »planet_osm_line_tmp« existiert nicht, wird übersprungen
Setting up table: planet_osm_polygon
HINWEIS:  Tabelle »planet_osm_polygon« existiert nicht, wird übersprungen
HINWEIS:  Tabelle »planet_osm_polygon_tmp« existiert nicht, wird übersprungen
Setting up table: planet_osm_roads
HINWEIS:  Tabelle »planet_osm_roads« existiert nicht, wird übersprungen
HINWEIS:  Tabelle »planet_osm_roads_tmp« existiert nicht, wird übersprungen
Using built-in tag processing pipeline
Allocating memory for sparse node cache
Node-cache: cache=800MB, maxblocks=0*102400, allocation method=8192
Mid: Ram, scale=100

!! You are running this on 32bit system, so at most
!! 3GB of RAM can be used. If you encounter unexpected
!! exceptions during import, you should try running in slim
!! mode using parameter -s.

Reading in file: root
error while opening file root

Can someone give me a hint what my mistake is and how I can solve it ?

Best regards,
hinro