Initialization of a PostgreSQL® DB Cluster

For some Windows versions this error might be shown: "The database cluster initialization failed" and when executing the "create_database_windows.bat" file, the error "psql: error: could not connect to server: Connection refused (0x0000274D/10061)".

  • In this case, add the path C:\Windows\system32 to the environment variable PATH.