Drupal let's us specify $db_url as an array, to make it possible to connect to other databases. This is extremely useful when doing migrations (using modules tw/migrate).

I would appreciate if migrating a site with provision would keep other values stored in $db_url and, in these cases, put the default value in $db_url['default']

Comments

adrian’s picture

Status: Active » Fixed

So i switched to the array format now.

Additionally, I made it so that you can create a 'local.settings.php' in the site directory of your site, and specify additional database credentials there (and it wont be overwritten).

[master f06fcbc] Switch the db_url definition to the array format. Also conditionally include a local.settings.php in the site dir. #715482
1 files changed, 6 insertions(+), 1 deletions(-)

omega8cc’s picture

Not sure if that is the source of now critical issues with sites imports, see:

http://drupal.org/node/882970#comment-3373260
http://github.com/omega8cc/nginx-for-drupal/issues/#issue/16

It affects both Apache and Nginx installs.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 394f6d2 on debian, dev-dns, dev-koumbit, dev-log_directory, dev-migrate_aliases, dev-multiserver-install, dev-simplerinstaller, prod-koumbit, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-subdir-multiserver, 6.x-2.x-backports, dev-helmo-3.x by adrian:
    Switch the db_url definition to the array format. Also conditionally...