Ruby on Rails Saturday, December 13, 2014

Hi everyone,

I'm new to rails and new to this group.

I've been going through Lynda.com tutorials and I got an error. 

I was hoping somebody could help me out :)

Here are the steps I've taken:
1) rails new simple_cms -d mysql
2) cd simple_cms
3) bundle install
4) rails s
5) but when I check the localhost in the browser at http://localhost:3000/

I get the following error message:

Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)


Unfortunately, this isn't covered in the Lynda.com tutorial and I can't find anything useful on stack overflow, etc.

Your help to fix this problem would be greatly appreciated :)

Thanks,
Michael



--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d6026a46-02ab-474c-b429-4a2fd67a4dd8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment