Posted By

cczona on 12/24/07


Tagged

mysql rails


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

sunnycmf
webstic


`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.