markpatterson
Registered
I've been following through this page: http://developer.apple.com/internet/opensource/postgres.html to install PostgreSQL on my eMac, but after solving one problem on this forum, I've come encountered another.
When I try to execute 2 commands, the results are different from what that page suggests. I get this:
Can anyone see what is going wrong?
When I try to execute 2 commands, the results are different from what that page suggests. I get this:
Code:
[B]Pattersons-eMac:/usr/local/pgsql postgres$[/B] /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -l logfile start
/usr/local/pgsql/bin/pg_ctl: line 341: logfile: Permission denied
postmaster successfully started
[B]Pattersons-eMac:/usr/local/pgsql postgres$[/B] createdb test
createdb: could not connect to database template1: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
[B]Pattersons-eMac:/usr/local/pgsql postgres$[/B]
Can anyone see what is going wrong?