deleted the socket specfications of mysql, and run the rake db:migrate command as first.