I did a standard installation of drupal 8 varbase and added this into Aqucia Dev Desktop 2.

Where can I find the username/password which is used for the database access from Drupal for the database? I looked into the settings.php but could not find any of this.

To be more specific. Below is the COMPLETE settings.php file without all the comments.

$databases = array();
$config_directories = array();
$settings['hash_salt'] = '';
$settings['update_free_access'] = FALSE;
$settings['container_yamls'][] = $app_root . '/' . $site_path . '/services.yml';

$settings['file_scan_ignore_directories'] = [

$settings['entity_update_batch_size'] = 50;

// Please don't edit anything between <DDSETTINGS> tags.
// This section is autogenerated by Acquia Dev Desktop.
if (isset($_SERVER['DEVDESKTOP_DRUPAL_SETTINGS_DIR']) && file_exists($_SERVER['DEVDESKTOP_DRUPAL_SETTINGS_DIR'] . '/loc_inzicht_dd.inc')) {
  require $_SERVER['DEVDESKTOP_DRUPAL_SETTINGS_DIR'] . '/loc_inzicht_dd.inc';
$settings['install_profile'] = 'varbase';

As the site name is named "Inzicht" I expect to find an option in devdesktop but could not find it.

[SOLVED] I did a long scan over the complete HDD and found the connection string in C:\Users\.acquia\DevDesktop\DrupalSettings

  • I already looked at that question and as I mentioned in the question, the username/password is not in the settings.php. – Justme Oct 30 '17 at 19:17
  • definitly not a duplicate question. – Justme Oct 30 '17 at 19:31

They are not stored in a file, they're both stored in the users_field_data database table. The password is stored as a salted hash, you won't be able to reverse engineer it.

Varbase does make some changes in its install profile; it sets the default username to "webmaster" instead of "admin", and locks that field so it can't be altered.

So your username is "webmaster", and your password is whatever you set it as during the installation process.

| improve this answer | |
  • Your answer is correct but my question was not. I need the username/password for the sql connection. Sorry for this – Justme Oct 30 '17 at 15:45
  • @Justme you can configure database connection in settings.php file located under sites/default/settings.php but in that case this question looks like to be a duplicate, have a look: drupal.stackexchange.com/questions/225477/… – otarza Oct 30 '17 at 16:40

Not the answer you're looking for? Browse other questions tagged or ask your own question.