Siddu
2007-Nov-22 05:14 UTC
connecting rails app running on windows and database in Linux...
Hi, I have a situation where my rails application is running on windows and i have to connect to the MySQL database in Linux... Plz suggest me any possible way to achive this... Ragards Siddu --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2007-Nov-22 13:52 UTC
Re: connecting rails app running on windows and database in Linux...
On 22 Nov 2007, at 05:14, Siddu wrote:> > Hi, > I have a situation where my rails application is running on windows > and i have to connect to the MySQL database in Linux... Plz suggest me > any possible way to achive this...stick the connection details in database.yml Fred --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Coffee Addict
2007-Nov-22 15:27 UTC
Re: connecting rails app running on windows and database in Linux...
On Nov 22, 6:52 am, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 22 Nov 2007, at 05:14, Siddu wrote: > > > > > Hi, > > I have a situation where my rails application is running on windows > > and i have to connect to the MySQL database in Linux... Plz suggest me > > any possible way to achive this... > > stick the connection details in database.yml > > FredIt should make no difference that the applications are on different systems with different operating systems. The connection settings in the application''s config/database.yml is all that matters. The host should be the IP address (or hostname) of the database machine. If you''re sure the database is active and you can''t connect, check that your database machine''s firewall isn''t blocking connections on port 3306, which is used by MySQL. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---