No such file or directory - /var/run/mysqld/mysqld.sock
- by johnlai2004
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?