Here is strange problem.
databse server ip : 170.2.14.131
application server ip : 170.2.14.137
Application is on cloud server. Database server is on another instance and application hosted on different instance.
production:
adapter: mysql
database: database_name
username: ************
password: ************
host: 170.2.14.131
This is my database.yml configuration for production environment.
Now when i am trying to connect through my application it's using application server IP instead of remote databse IP.
Please suggest.
developmentis the correct environment? Just stands out as I wouldn't expect development to be running on separate machines in the cloud.