Ruby & Mysql
Posted by: nicepants
Posted on: 2007-04-25 18:52:00
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?