Database connection to remote machine


Here is strange problem.

Application is on cloud server. Database server is on another instance
and application hosted on different instance.

databse server ip :
application server ip : yyy.yyy.yyy.yyy

adapter: mysql
database: database_name
username: ************
password: ************

This is my database.yml configuration for development environment.

Now when i am trying to connect through my application it’s using
application server IP yyy.yyy.yyy.yyy instead of remote databse IP

Please suggest.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs