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

Standard

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

 

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,

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

O problema deve estar sanado.

One thought on “Cpanel com ruby apresentando Status: 500 Internal Server Error Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.