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

@ -150,6 +150,7 @@ func InstallPost(ctx *context.Context, form auth.InstallForm) {
models.DbCfg.Passwd = form.DbPasswd
models.DbCfg.Name = form.DbName
models.DbCfg.SSLMode = form.SSLMode
models.DbCfg.Charset = form.Charset
models.DbCfg.Path = form.DbPath
if (models.DbCfg.Type == "sqlite3") &&