This forum is no longer active. Please post your questions to our new community site

[OSX] mysql.sock gone missing

Subscribe to [OSX] mysql.sock gone missing 3 post(s), 2 voice(s)

Avatar rob99 20 post(s)

Rails is complaing:
“Errno::ENOENT (No such file or directory – /Applications/rubystack-1.0/mysql/tmp/mysql.sock):”

I’m not sure how this happened.

Is there a way to re-generate the file?


Avatar Beltrán Rueda Administrator 3,714 post(s)


Is the MySQL database running? You can start or stop with

$ start mysql

The msyql.sock file is created automatically when you start the database.

Avatar rob99 20 post(s)

Oops! No it wasn’t running…

Thanks for the quick response!