[drupal-devel] [feature] settings.php: better instructions for $db_url and $db_prefix

danielc drupal-devel at drupal.org
Sun Apr 3 18:26:40 UTC 2005

Issue status update for http://drupal.org/node/19474

 Project:      Drupal
 Version:      cvs
 Component:    base system
 Category:     feature requests
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  danielc
 Updated by:   danielc
 Status:       patch

I used "d1" as short for "drupal site number 1."  It seems "master" and
"shared" are also ambiguous because they don't indicate anything to do
with Drupal and if one is making many sites, "master" doesn't indicate
which site it's for.  So, how about "drupal_site_1_" and


Previous comments:

March 25, 2005 - 20:28 : danielc

Attachment: http://drupal.org/files/issues/settings.diff (2.49 KB)

Improves instructions in /drupal/sites/default/settings.php:
* How to escape URL characters in $db_url.
* How to use the array format of $db_prefix.


March 25, 2005 - 22:31 : Anonymous

Looks real good. My suggestions:

"You can set prefixes" into "You can optionally set prefixes"
"If a prefix is specified, its value will be prepended with this
string." into "If a prefix is specified, the table name will be
prepended with its value."


March 25, 2005 - 22:32 : Morbus Iff

#1 tis mine.


March 26, 2005 - 11:43 : Chris Johnson

danielc:  please re-roll your patch with the changes suggested by Morbus
Iff.  Looks good.  Let's make it even better.


March 28, 2005 - 17:08 : danielc

Attachment: http://drupal.org/files/issues/settings2.diff (2.51 KB)

Here's the revised patch...


April 3, 2005 - 07:53 : Dries

Can we choose more meaningful prefix examples than dl_ and d_share? 
What does dl_ stand for?  Otherwise, this patch looks good.  Maybe
using 'master_' and 'shared_'?

More information about the drupal-devel mailing list