psql: error: connection to server on socket "/tmp/.s.PGSQL.5432" failed: No such file or directory
Not really sure what caused this but most likely exiting the terminal while my rails server which was connected to PostgreSQL database was closed (not a good practice I know but lesson learned!) I've already tried the following: Rebooting my machine (using MBA M1 2020) Restarting PostgreSQL using homebrew brew services restart postgresql Re-installing Postgr