Browse Source

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

pull/1807/head
zhengkunwang 1 year ago committed by GitHub
parent
commit
b7d09d0201
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      backend/app/service/app_utils.go

1
backend/app/service/app_utils.go

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

Loading…
Cancel
Save