소스 검색

docs: Fix MySQL create database syntax (#10436)

Signed-off-by: Ask Bjørn Hansen <ask@develooper.com>
tags/v1.10.5
Ask Bjørn Hansen 4 년 전
부모
커밋
c97433d07d
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      docs/content/doc/installation/database-preparation.en-us.md

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

Loading…
취소
저장