Ruby & Mysql

Strange issue here. First time trying to serve up Ruby on Rails pages with DH. I get everything uploaded, code works great, except when it has to access my database, I get the error “cannot connect to local MySQL server through socket”.

If I load up the ruby script/console window, I can work on the development database just fine, but loading the production console, I get errors when trying to use the database.

I AM able to do a rake db:migrate to the production databaes, and the changes are made successfully, for some reason it just seems like, aside from the migrations, it doesn’t want to talk to my production database.

Anyone had similar issues or have any input?

When configuring Ruby, did you put the full hostname for the database? Socket errors are usually an indication that you put “localhost.”
Very little to do with either emus or farmers!