On 24 January 2012 11:10, David Ekdahl <[email protected]> wrote:
> Colin Law wrote in post #1042264:
>> On 24 January 2012 10:56, David Ekdahl <[email protected]> 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 [email protected].
>>> To unsubscribe from this group, send email to
>> [email protected].
>>> 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?

They are in the log folder within the rails application (so that is a
folder log at the same level as the config folder that has
database.yml in it).

Colin

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to