mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-31 22:18:07 +08:00
fix: 解决带数据库应用安装失败的问题 (#1806)
This commit is contained in:
parent
67bba4bc1d
commit
b7d09d0201
@ -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…
x
Reference in New Issue
Block a user