]> source.dussan.org Git - gitea.git/commit
Remove "CHARSET" config option for MySQL, always use "utf8mb4" (#25413)
authorwxiaoguang <wxiaoguang@gmail.com>
Wed, 21 Jun 2023 10:49:25 +0000 (18:49 +0800)
committerGitHub <noreply@github.com>
Wed, 21 Jun 2023 10:49:25 +0000 (10:49 +0000)
commitce46834b938eb687152a680669ada95a26304178
tree7a234a4673d41bb0f374670a02013b62f1e5d851
parentdfd19fa38c9ee004c5d7e73f51af5981adcb5e6d
Remove "CHARSET" config option for MySQL, always use "utf8mb4" (#25413)

In modern days, there is no reason to make users set "charset" anymore.

Close #25378

## :warning: BREAKING

The key `[database].CHARSET` was removed completely as every newer
(>10years) MySQL database supports `utf8mb4` already.
There is a (deliberately) undocumented new fallback option if anyone
still needs to use it, but we don't recommend using it as it simply
causes problems.
custom/conf/app.example.ini
docs/content/doc/administration/config-cheat-sheet.en-us.md
docs/content/doc/help/faq.en-us.md
modules/setting/database.go
options/locale/locale_en-US.ini
routers/install/install.go
services/forms/user_form.go
templates/install.tmpl