[drupal-devel] [feature] Change default $db_url to something unique and informative

danielc drupal-devel at drupal.org
Fri Apr 1 05:21:10 UTC 2005


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

 Project:      Drupal
 Version:      cvs
 Component:    base system
 Category:     feature requests
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  danielc
 Updated by:   danielc
 Status:       patch
 Attachment:   http://drupal.org/files/issues/settings.dburl.diff (581 bytes)

Currently, the default $db_url in /drupal/sites/default/settings.php is
"mysql://drupal:drupal@localhost/drupal".  It would be helpful for end
users if its contents were more descriptive, such as
"mysql://user:password@localhost/databasename".
A side benefit of this change is helping automated installation scripts
determine if the settings in the /drupal/sites/default/ are meant to be
used or not.  This is because the existing db_url could possibly be
used in real life while the proposed text is very unlikely to be used.


danielc




More information about the drupal-devel mailing list