John Young
2006-Nov-14 19:34 UTC
"getaddrinfo: Name or service not known" error. MySQL driver?
Dear list: I have one app running merrily on a Linux box. I can run "rake migrate" on it with no trouble, start it, stop it, and restart it. I created a second app and uploaded it to the same box. Aside from the database names, the database.yml files are *exactly the same*. Yet when I run "rake migrate" on the new app, I get: ----- (in /home/[USERNAME]/rails/[APPNAME]/releases/20061113210744) ** Invoke migrate (first_time) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate rake aborted! getaddrinfo: Name or service not known /usr/local/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/vendor/mysql.rb:108:in `initialize'' ...[et cetera] ----- Can anyone give me a hint where to start to investigate this? Should I be updating my Rails, or my MySQL driver? Any pointers in the right direction would be greatly appreciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---