Closed (fixed)
Project:
Drupal core
Component:
base system
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Anonymous (not verified)
Created:
16 Oct 2004 at 13:11 UTC
Updated:
11 Oct 2026 at 19:33 UTC
Jump to comment: Most recent file
Comments
Comment #1
Chris Johnson commentedHere's a simple patch against 4.5.2.
Comment #2
Chris Johnson commentedAnd here is the equivalent patch for HEAD, against settings.php.
Comment #3
tangent commentedMakes sense to me. +1
Comment #4
Bèr Kessels commented+1 from me. This very small change makes it very clear that we do not want the hostname of the server, but of the database.
One small question: in drupal we use underscores to mark words everywhere (functions, variables, modules, themes etc.) so can you use db_hostname?
Attached patch does that.
Comment #5
dries commentedErr, your patch looks inconsistent: it only uses underscore on some strings. I'll fix it up and commit it to HEAD.
Comment #6
dries commentedCommitted to HEAD. Thanks.
Comment #7
(not verified) commented