Add support of utf8mb4 for mysql (#6992)

This commit is contained in:
Lunny Xiao
2019-05-24 12:15:26 +08:00
committed by techknowlogick
parent 181b7c99ed
commit d5a98a2969
9 changed files with 34 additions and 10 deletions

View File

@ -86,8 +86,9 @@ host = Host
user = Username
password = Password
db_name = Database Name
db_helper = Note to MySQL users: please use the InnoDB storage engine and the 'utf8_general_ci' character set.
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 .
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.
err_empty_db_path = The SQLite3 database path cannot be empty.