Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

psql: error: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

Try running to verify its working:

sudo service postgresql start
Comment

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"?

rm /usr/local/var/postgres/postmaster.pid
brew services restart postgresql

# Think to restart your terminal (cmd + q on macOS)
Comment

psql: error: connection to server on socket "/tmp/.s.PGSQL.5432" failed: No such file or directory Is the server running locally and accepting connections on that socket?

$ rm /usr/local/var/postgres/postmaster.pid
$ brew services restart postgresql
Comment

PREVIOUS NEXT
Code Example
Javascript :: generator object loop over length 
Javascript :: sqlite get row id after insert nodejs 
Javascript :: three.js first issue resolved awwwards merge webgl html worlds 
Javascript :: Text with prop value is rendered The component renders variable text based on a string prop. We test that the component renders the value of the passed prop. 
Javascript :: how to do multiple pages in angular 
Javascript :: regular expression for spanish date 
Javascript :: returns string of names, seperated by commas and an ampersand namesObj in javascript 
Javascript :: firestore get first document in collection and delete it 
Javascript :: reference to javascript array 
Javascript :: how to connect two model in mongoose 
Javascript :: flutter enum to json 
Javascript :: create random salt js 
Javascript :: include nested childs 
Javascript :: Preselecting options select2 angularjs 
Javascript :: bootstrap dropdown with state 
Javascript :: object with key as individual choice and values as the second choice 
Javascript :: waiting for the value from use effect 
Javascript :: nodejs createwriteStream file image broken 
Javascript :: react-native-modal big border 
Javascript :: How to switch to a remote git branch that does not exist locally 
Javascript :: js rotate matrix as image 
Javascript :: react button on child Content Data initialize 
Javascript :: Javascript Recursion shuffle card 
Javascript :: react axios request data objest from online json with table element 
Javascript :: enzyme debounce test 
Javascript :: apollo client multiple endpoints 
Javascript :: dropdown list trigger change with value jquery 
Javascript :: remove the bottom selection line from materail ui 
Javascript :: execute only once on multiple clicks javascript 
Javascript :: inheritence in javascript 
ADD CONTENT
Topic
Content
Source link
Name
8+3 =