PG::ConnectionBad: could not connect to server: No such file or directory
Problema: tentar interarir com o Postgres e obter essa mensagem:
PG::ConnectionBad: could not connect to server: No such file or directory
Solução: encontrar o service do Postgres (geralmente /etc/init.id/postgresql) e reiniciá-lo
/etc/init.d/postgresql restart
Written by Débora Fernandes
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#