fix: 解决带数据库应用安装失败的问题 (#1806)

This commit is contained in:
zhengkunwang 2023-08-01 18:44:54 +08:00 committed by GitHub
parent 67bba4bc1d
commit b7d09d0201
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,6 +130,7 @@ func createLink(ctx context.Context, app model.App, appInstall *model.AppInstall
createMysql.Format = "utf8mb4"
createMysql.Permission = "%"
createMysql.Password = dbConfig.Password
createMysql.From = "local"
mysqldb, err := NewIMysqlService().Create(ctx, createMysql)
if err != nil {
return err