settings.php updates for Additional Databases

settings.php updates for Additional Databases

2 posts / 0 new
Last post
vshirguppi@familyoffice.com's picture
vshirguppi
Points: 0
settings.php updates for Additional Databases

Hi,

I am working on moving my site from Rackspace to Acquia cloud.
My current setup involved 2 databases (drupal database + additional database from CRM integration)

On Rackspace I am using sites.php to redirect Drupal to right settings.php file.

However on Acquia, how can I add the credentials for my additional database in the settings.php file so that my custom module can use it?

I have added the following code to my settings.php file -

if (file_exists('/var/www/site-php')) {
  require '/var/www/site-php/ftest/ftest-settings.inc';
}

Appreciate your time.

Status: 
Unresolved