Closed (fixed)
Project:
Drupal core
Component:
base system
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
16 Oct 2004 at 13:11 UTC
Updated:
14 Mar 2005 at 17:15 UTC
Jump to comment: Most recent file
As seen here it's not so obvious what to fill into the $dburl line in include/conf.php.
My suggestion to clarify this a bit:
Replace
# $db_url = "mysql://user:password@hostname/database";
with
# $db_url = "mysql://dbuser:dbpassword@dbhostname/database";
This should make it a little clearer that the database user, password and host is meant.
The same should be done with the PostgreSQL line...
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | db_hostname.patch | 550 bytes | Bèr Kessels |
| #2 | settings.php.patch | 551 bytes | Chris Johnson |
| #1 | conf.php.patch | 579 bytes | Chris Johnson |
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