From 25f8970b2cc5d2c9fd357ef2c60a54886154f6c9 Mon Sep 17 00:00:00 2001 From: Bagas Sanjaya Date: Sun, 27 Dec 2020 22:55:45 +0700 Subject: [PATCH] [Docs] Database preparation: Clarify why database client is installed on Gitea server (#12833) * Database preparation: Clarify why database client is installed on Gitea server The database client program (`mysql` or `psql`) is used to test database connection, but Gitea use Go's database driver to do the same. Also, rename "server part" and "client part" to "server application" and "client program" to disambiguate. * Update docs/content/doc/installation/database-preparation.en-us.md Co-authored-by: 6543 <6543@obermui.de> --- docs/content/doc/installation/database-preparation.en-us.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/doc/installation/database-preparation.en-us.md b/docs/content/doc/installation/database-preparation.en-us.md index de2ed9caf..3b4a7e958 100644 --- a/docs/content/doc/installation/database-preparation.en-us.md +++ b/docs/content/doc/installation/database-preparation.en-us.md @@ -19,7 +19,7 @@ You need a database to use Gitea. Gitea supports PostgreSQL, MySQL, SQLite, and Database instance can be on same machine as Gitea (local database setup), or on different machine (remote database). -Note: All steps below requires that the database engine of your choice is installed on your system. For remote database setup, install the server part on database instance and client part on your Gitea server. In addition, make sure you use same engine version for both server and client for some engine features to work. For security reason, protect `root` (MySQL) or `postgres` (PostgreSQL) database superuser with secure password. The steps assumes that you run Linux for both database and Gitea servers. +Note: All steps below requires that the database engine of your choice is installed on your system. For remote database setup, install the server application on database instance and client program on your Gitea server. The client program is used to test connection to the database from Gitea server, while Gitea itself use database driver provided by Go to accomplish the same thing. In addition, make sure you use same engine version for both server and client for some engine features to work. For security reason, protect `root` (MySQL) or `postgres` (PostgreSQL) database superuser with secure password. The steps assumes that you run Linux for both database and Gitea servers. **Table of Contents**