Closed (fixed)
Project:
Provision
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Feb 2010 at 02:56 UTC
Updated:
12 Jun 2014 at 08:41 UTC
Jump to comment: Most recent
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 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 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.