Drupal - Looking for Acquia Dev Desktop database settings
In the case of Windows 8, Acquia Dev Desktop 2 generates the settings file in this location:
C:\Users\\[user]\\.acquia\DevDesktop\DrupalSettings\loc_Testing_local.inc
If you want to know where Acquia Dev Desktop save settings go to your settings.php
and paste:
die($_SERVER['DEVDESKTOP_DRUPAL_SETTINGS_DIR']);
Or as @Cameron mentioned in comment it’s better use drush
if it is installed:
So
drush php-eval 'echo $_SERVER["DEVDESKTOP_DRUPAL_SETTINGS_DIR"]'
Then you can find where Acquia saved thie file
As example in Windows 8 in:
C:\Users\[user]\.acquia\DevDesktop\DrupalSettings\loc_Testing_local.inc
And in Mac or (Linux) in:
/Users/[yourusername]/.acquia/DevDesktop/DrupalSettings
After digging this issue in details, it turns out that the answer to my question is:
$databases['default']['default'] = array(
'driver' => 'mysql',
'database' => 'TheDBNameIChoose',
'username' => 'drupaluser',
'password' => '',
'host' => '127.0.0.1',
'port' => 33066 );
In fact, Acquia Dev Desktop does automatically generate a setting.php
file in the Public file system path (see Home > Administration > Configuration > Media)