summaryrefslogtreecommitdiffstats
path: root/docs/content/doc/installation/database-preparation.en-us.md
diff options
context:
space:
mode:
authorAsk Bjørn Hansen <ask@develooper.com>2020-02-24 04:15:16 -0800
committerGitHub <noreply@github.com>2020-02-24 14:15:15 +0200
commitc97433d07df5dd2c5b92ed705041e4082dcd1b2f (patch)
treee26b45da8720d2f065504ff96cf154df9c51b699 /docs/content/doc/installation/database-preparation.en-us.md
parent39b507e3c4badca0fe253a127bcbde38483cf25b (diff)
downloadgitea-c97433d07df5dd2c5b92ed705041e4082dcd1b2f.tar.gz
gitea-c97433d07df5dd2c5b92ed705041e4082dcd1b2f.zip
docs: Fix MySQL create database syntax (#10436)
Signed-off-by: Ask Bjørn Hansen <ask@develooper.com>
Diffstat (limited to 'docs/content/doc/installation/database-preparation.en-us.md')
-rw-r--r--docs/content/doc/installation/database-preparation.en-us.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/doc/installation/database-preparation.en-us.md b/docs/content/doc/installation/database-preparation.en-us.md
index 3e8837311f..59e7698b06 100644
--- a/docs/content/doc/installation/database-preparation.en-us.md
+++ b/docs/content/doc/installation/database-preparation.en-us.md
@@ -52,7 +52,7 @@ Note: All steps below requires that the database engine of your choice is instal
3. Create database with UTF-8 charset and collation. Make sure to use `utf8mb4` charset instead of `utf8` as the former supports all Unicode characters (including emojis) beyond *Basic Multilingual Plane*. Also, collation chosen depending on your expected content. When in doubt, use either `unicode_ci` or `general_ci`.
```sql
- CREATE DATABASE 'giteadb' CHARACTER SET 'utf8mb4' COLLATE 'utf8mb4_unicode_ci';
+ CREATE DATABASE giteadb CHARACTER SET 'utf8mb4' COLLATE 'utf8mb4_unicode_ci';
```
Replace database name as appropriate.