I am trying to perform a migration in Ruby on Rails 4, and I am running into the following error:
********-C02MGBVJFD57:myapp michaelsutyak$ bundle exec rake db:migrate
rake aborted!
Mysql2::Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Any ideas why this is happening?