We Recommend

The Rails Way The Rails Way
Now, for the first time, there’s a comprehensive, authoritative guide to building production-quality software with Rails. Pioneering Rails developer Obie Fernandez and a team of experts illuminate the entire Rails API, along with the Ruby idioms, design approaches, libraries, and plug-ins that make Rails so valuable.


Posted By

cczona on 12/24/07


Tagged

mysql rails


Versions (?)


Who likes this?

1 person has marked this snippet as a favorite

sunnycmf


`No such file or directory – /tmp/mysql.sock`


Published in: Rails 


URL: http://bparanj.blogspot.com/2007/06/no-such-file-or-directory-tmpmysqlsock.html

  1. #go to the shell to find out where your socket actually is
  2. locate mysql.sock
  3.  
  4. #modify database.yml accordingly
  5. socket: /path/to/mysql.sock

Report this snippet 

You need to login to post a comment.