Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
0eed8ece
Kaydet (Commit)
0eed8ece
authored
Ara 11, 2012
tarafından
Tim Graham
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #19377 - Emphasized database host link in tutorial
üst
7e97f4f5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
12 deletions
+10
-12
tutorial01.txt
docs/intro/tutorial01.txt
+2
-2
databases.txt
docs/ref/databases.txt
+2
-6
settings.txt
docs/ref/settings.txt
+6
-4
No files found.
docs/intro/tutorial01.txt
Dosyayı görüntüle @
0eed8ece
...
...
@@ -220,8 +220,8 @@ your database connection settings.
SQLite).
* :setting:`HOST` -- The host your database is on. Leave this as
an empty string
if your database server is on the same physical
machine (not used for SQLite)
.
an empty string
(or possibly ``127.0.0.1``) if your database server is on the
same physical machine (not used for SQLite). See :setting:`HOST` for details
.
If you're new to databases, we recommend simply using SQLite by setting
:setting:`ENGINE` to ``'django.db.backends.sqlite3'`` and :setting:`NAME` to
...
...
docs/ref/databases.txt
Dosyayı görüntüle @
0eed8ece
...
...
@@ -34,13 +34,9 @@ aggregate with a database backend that falls within the affected release range.
.. _Release 8.2.5: http://www.postgresql.org/docs/devel/static/release-8-2-5.html
PostgreSQL connection settings
------------------------------
------------------------------
-
By default (empty :setting:`HOST`), the connection to the database is done
through UNIX domain sockets ('local' lines in pg_hba.conf). If you want to
connect through TCP sockets, set :setting:`HOST` to 'localhost' or '127.0.0.1'
('host' lines in pg_hba.conf). On Windows, you should always define
:setting:`HOST`, as UNIX domain sockets are not available.
See :setting:`HOST` for details.
Optimizing PostgreSQL's configuration
-------------------------------------
...
...
docs/ref/settings.txt
Dosyayı görüntüle @
0eed8ece
...
...
@@ -431,10 +431,12 @@ MySQL will connect via a Unix socket to the specified socket. For example::
If you're using MySQL and this value *doesn't* start with a forward slash, then
this value is assumed to be the host.
If you're using PostgreSQL, an empty string means to use a Unix domain socket
for the connection, rather than a network connection to localhost. If you
explicitly need to use a TCP/IP connection on the local machine with
PostgreSQL, specify ``localhost`` here.
If you're using PostgreSQL, by default (empty :setting:`HOST`), the connection
to the database is done through UNIX domain sockets ('local' lines in
``pg_hba.conf``). If you want to connect through TCP sockets, set
:setting:`HOST` to 'localhost' or '127.0.0.1' ('host' lines in ``pg_hba.conf``).
On Windows, you should always define :setting:`HOST`, as UNIX domain sockets
are not available.
.. setting:: NAME
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment