Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
adrian CreditAttribution: adrian commentedSo 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(-)
Comment #2
omega8cc CreditAttribution: omega8cc commentedNot 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.