diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-06-21 18:49:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-21 10:49:25 +0000 |
commit | ce46834b938eb687152a680669ada95a26304178 (patch) | |
tree | 7a234a4673d41bb0f374670a02013b62f1e5d851 /options | |
parent | dfd19fa38c9ee004c5d7e73f51af5981adcb5e6d (diff) | |
download | gitea-ce46834b938eb687152a680669ada95a26304178.tar.gz gitea-ce46834b938eb687152a680669ada95a26304178.zip |
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.
Diffstat (limited to 'options')
-rw-r--r-- | options/locale/locale_en-US.ini | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 234b898fc1..a2c67fbf55 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -197,11 +197,9 @@ host = Host user = Username password = Password db_name = Database Name -db_helper = Note to MySQL users: please use the InnoDB storage engine and if you use "utf8mb4", your InnoDB version must be greater than 5.6 . db_schema = Schema db_schema_helper = Leave blank for database default ("public"). ssl_mode = SSL -charset = Charset path = Path sqlite_helper = File path for the SQLite3 database.<br>Enter an absolute path if you run Gitea as a service. reinstall_error = You are trying to install into an existing Gitea database |