Unable to connect to server: connection to server at "localhost" (::1), port 5432 failed: FATAL: role "postgres" does not exist
2023. 8. 1. 19:18ㆍ에러대응
pgAdmin 에서 서버를 생성하는데 아래와 같은 에러가 발생하여 생성이 불가하게됨
Unable to connect to server: connection to server at "localhost" (::1), port 5432 failed: FATAL: role "postgres" does not exist
터미널에서 확인을 위해 psql 을 입력하였으나 아래와 같은 에러 발생
psql: error: connection to server on socket "/tmp/.s.PGSQL.5432" failed: FATAL: database "yunmun-yeol" does not exist
SOLVE
psql -U postgres
유저가 없어서 그런거였음.. 허무함
참고링크