諸行無常

IT色々お勉強中のブログ

急にpostgresが繋がらなくなった

急にpostgresが繋がらなくなった

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

postmaster.pidを消したら何か動くようなった

/usr/local/var/postgres/ rm postmaster.pid
remove postmaster.pid? yes