Skip to content
AppUnix

Categoria: cPanel

Cpanel com ruby apresentando Status: 500 Internal Server Error Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2)

23/11/2016 by little_oak

Se esse erro aparece para você, caso já tenha resolvido o problema junto ao Mysql (reiniciar o mesmo) faça o seguinte:

1
ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock

Depois Service mysql restart Se o problema ainda persistir com o Ruby on Rails reinicie o mesmo,

1
/etc/rc.d/init.d/ror restart

O problema deve estar sanado.

Continue Reading

Navegação por posts

  • Previous
  • 1
  • 2

Pesquisa

Publicidade

Categorias

  • Blog
  • cPanel
  • How Tos
  • Linux
  • Mac Os
  • MySQL
  • Wordpress

#Apoiadores

Patrocinador

Registre-se e ganhe $25



© 2021 AppUnix | Protegido Por MxGuardDoG