Włącz Postgresql w Cygwin
zainstalowałemCygwin
z Perlem iPostgresql
pakiety włączone.
Następnie wpisane:
/usr/bin/cygserver-config (This will install the service)
Następnie wpisz:
net start cygserver(This starts the service)
Następnie muszę włączyć Postgresql w Cygwin, więc wypróbowałem poniższe polecenia:
cygrunsrv -S cygserver
initdb -D /usr/share/postgresql/data
pg_ctl start -D /usr/share/postgresql/data -l /var/log/postgresql.log
createdb
psql
Dostaję błąd:
$ initdb -D /usr/share/postgresql/data
-bash: initdb: command not found
$ pg_ctl start -D /usr/share/postgresql/data -l /var/log/postgresql.log
-bash: pg_ctl: command not found
Czy ktoś może mi powiedzieć, jak to zrobić.