This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

postgresql - Cannot initialize new Postgres database on Cygwin - Super User


When I try to initialize a new database, I get an error:

    $ /usr/sbin/pg_ctl init
    no data was returned by command ""/usr/sbin/initdb.exe" -V"
    The program "initdb" is needed by pg_ctl but was not found in the
    same directory as "/usr/sbin/pg_ctl".
    Check your installation.
   
    $ /usr/sbin/initdb.exe -V
    initdb (PostgreSQL) 9.6.1
   
    $ "/usr/sbin/initdb.exe" -V
    initdb (PostgreSQL) 9.6.1
   
    $ /usr/sbin/initdb.exe -D /usr/share/postgresql
    no data was returned by command ""/usr/sbin/postgres.exe" -V"
    The program "postgres" is needed by initdb but was not found in the
    same directory as "/usr/sbin/initdb".
    Check your installation.
   
    $ /usr/sbin/postgres -V
    postgres (PostgreSQL) 9.6.1

Cygwin 2.6.1, Postgres 9.6.1


http://superuser.com/questions/1166177/cannot-initialize-new-postgres-database-on-cygwin


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]