On May 14, 2007, at 6:21 PM, George Heller wrote:

psql mydatabase postgres

it gives me the error,
psql: could not connect to server: No such file or
directory

Depending on your setup, postgres might not be starting automatically on reboot.

Try:
pg_ctl start -D [datadir]

replacing [datadir] with your path like you did before and any other options you want to send it.

pg_ctl --help for reference


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to