hey,
for those who may have the same problem, i'v tried:
psql -h localhost -U postgres
and it worked.
User Profile
Collapse
-
can't access postgresql database
i have installed a software on ubuntu 10.10 that contains postgres inside it, and postgres was automatically installed with software .run file.
now the database directory is inside the /opt directory and every time i try to access it i have the error message:
couldn't change directory to root
psql: couldn't connect to server: no such file or directory
is the server running locally and accepting
...
No activity results to display
Show More
Leave a comment: