No such file or directory - /var/run/mysqld/mysqld.sock

Posted by johnlai2004 on Server Fault See other posts from Server Fault or by johnlai2004
Published on 2010-04-12T11:37:38Z Indexed on 2010/04/12 11:43 UTC
Read the original article Hit count: 443

Filed under:

I tried to migrate a 5 year old ruby on rails application onto a new server with Ubuntu 8.04, Apache 2 and MySQL 5.

The application failed to run. When I looked in the error logs, I noticed

Errno::ENOENT (No such file or directory - /var/run/mysqld/mysqld.sock)

I looked around my new server but can't find a mysqld.sock file. How can I fix this problem?

© Server Fault or respective owner

Related posts about mysqld.conf