Colin Law wrote in post #1042264: > On 24 January 2012 10:56, David Ekdahl <li...@ruby-forum.com> wrote: >> One mysql for the application itself to store data, and one adapter for >> server. Iptables is configured to pass through data on port 3306 >> The remote MySQL server is accepting data from user@ip-adress-of-CentOS. >> Privileges is configured to GRANT ALL on the database from the remote >> user. >> >> When i run mysql -h remote.host.local -u user -p i get a valid >> connection. >> >> Is there anywhere else but the database.yml file i need to specify >> something? I have verified with the developer of the application that he >> uses only database.yml to connect to the MySQL server. > > Have a look in the rails log (log/development.log or > log/production.log in the rails project folder dependent on which mode > you are using) to see if there is more info there. > > Colin > >> To post to this group, send email to rubyonrails-talk@googlegroups.com. >> To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com. >> For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >> > > > > -- > gplus.to/clanlaw
Hello and thank you for the fast answer. I am not in my office at the moment so I cannot see the files you posted. Just to verify (because i am novice) are those files located in the application itself or inside the Ruby installation folder? Is there a way inside the application to se where logs are to be written? David -- Posted via http://www.ruby-forum.com/. -- 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@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.