Kaydet (Commit) f7142b61 authored tarafından Tim Graham's avatar Tim Graham

Fixed #9920 - Clarfied empty string vs. localhost in settings database host.

Thanks chromano for the draft patch.
üst e376558e
...@@ -13,10 +13,11 @@ DATABASES = { ...@@ -13,10 +13,11 @@ DATABASES = {
'default': { 'default': {
'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. 'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
'NAME': '', # Or path to database file if using sqlite3. 'NAME': '', # Or path to database file if using sqlite3.
'USER': '', # Not used with sqlite3. # The following settings are not used with sqlite3:
'PASSWORD': '', # Not used with sqlite3. 'USER': '',
'HOST': '', # Set to empty string for localhost. Not used with sqlite3. 'PASSWORD': '',
'PORT': '', # Set to empty string for default. Not used with sqlite3. 'HOST': '', # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP.
'PORT': '', # Set to empty string for default.
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment