Refactor install page (db type) (#17919)

* Refactor install page (db type)

* set correct default DB HOST for different DB TYPE
* remove legacy TiDB from documents
* unify the usage of DB TYPE, in code we only use "mysql". "MySQL" is only shown to users for friendly name.

* Gitea can use TiDB via MySQL protocol

Co-authored-by: zeripath <[email protected]>
Co-authored-by: Lunny Xiao <[email protected]>
This commit is contained in:
authored and GitHub committed 2021-12-07 13:44:08 +08:00
1 parent 0a5cd21a8a
commit 50823c34c7
5 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ Gitea 是從 [Gogs](http://gogs.io) Fork 出來的,請閱讀部落格文章 [G
- PostgreSQL
- SQLite3
- MSSQL
- TiDB(實驗中, 不建議使用)
- TiDB(MySQL 協議)
- 設定檔
- [app.ini](https://github.com/go-gitea/gitea/blob/master/custom/conf/app.example.ini)
- 管理員面板