aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine GIRARD <sapk@users.noreply.github.com>2019-08-12 23:52:11 +0200
committertechknowlogick <techknowlogick@gitea.io>2019-08-12 17:52:11 -0400
commit9692ebcc5464fcd27ba3d669c7311dc0aa6d3b60 (patch)
tree3d2792613ff0285a40fa5d4980417f6f490a9018
parent98fd085039fe6c392ecf68298f3ad41e87950cd3 (diff)
downloadgitea-9692ebcc5464fcd27ba3d669c7311dc0aa6d3b60.tar.gz
gitea-9692ebcc5464fcd27ba3d669c7311dc0aa6d3b60.zip
add details for db socket listening (#7830)
-rw-r--r--docs/content/doc/advanced/config-cheat-sheet.en-us.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md
index 89f57d9b0c..3c6a306b95 100644
--- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md
+++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md
@@ -156,7 +156,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
## Database (`database`)
- `DB_TYPE`: **mysql**: The database type in use \[mysql, postgres, mssql, sqlite3\].
-- `HOST`: **127.0.0.1:3306**: Database host address and port.
+- `HOST`: **127.0.0.1:3306**: Database host address and port or absolute path for unix socket \[mysql, postgres\] (ex: /var/run/mysqld/mysqld.sock).
- `NAME`: **gitea**: Database name.
- `USER`: **root**: Database username.
- `PASSWD`: **\<empty\>**: Database user password. Use \`your password\` for quoting if you use special characters in the password.