瀏覽代碼

add details for db socket listening (#7830)

tags/v1.10.0-rc1
Antoine GIRARD 4 年之前
父節點
當前提交
9692ebcc54
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      docs/content/doc/advanced/config-cheat-sheet.en-us.md

+ 1
- 1
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.

Loading…
取消
儲存