Connecting Rails App to existing MAMP DB
Posted 04 September 2013 - 06:09 AM
I want to connect that database to my Rails app. My database.yml file looks like this:
I'm using RubyMine. When I run my app, it launches the server at localhost:3000 and loads the welcome page. I don't believe it's connecting to my MAMP Database.
Can someone please let me know what I'm doing wrong. Thank you in advanced.
Posted 04 September 2013 - 03:00 PM
Posted 04 September 2013 - 08:44 PM Best Answer
I googled that for you.
Can't connect to local MySQL server through socket '/Applications/MAMP/tmp/mysql/mysql.sock' (2)
related (need to create a sym link)
1 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users