From 0f92bb4c59d88b6f5b38fffe9419fccd4529fc40 Mon Sep 17 00:00:00 2001 From: kanade Date: Wed, 22 Jun 2022 15:26:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=95=B0=E6=8D=AE=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/dbc/mysql.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/dbc/mysql.go b/internal/dbc/mysql.go index 88bd311..29d2a10 100755 --- a/internal/dbc/mysql.go +++ b/internal/dbc/mysql.go @@ -34,7 +34,7 @@ func SetupMysql() { //rm-uf6qb1jym26a044z03o.mysql.rds.aliyuncs.com //rm-uf6qb1jym26a044z0.mysql.rds.aliyuncs.com内网 c = &MysqlConfig{ - Dsn: "db_recook_super:sduEb9MTSiqhweXGpxa0@tcp(rm-uf650e6f4439fxw54.mysql.rds.aliyuncs.com:3306)/db_recook_v2?timeout=3s&readTimeout=3s&writeTimeout=3s&parseTime=true&loc=Local&charset=utf8mb4,utf8", + Dsn: "db_recook_super:sduEb9MTSiqhweXGpxa0@tcp(rm-uf650e6f4439fxw54.mysql.rds.aliyuncs.com:3306)/db_recook?timeout=3s&readTimeout=3s&writeTimeout=3s&parseTime=true&loc=Local&charset=utf8mb4,utf8", Idle: 10, Active: 500, } @@ -89,7 +89,7 @@ func SetupNewMysql() { LogLevel: 4, MaxIdleConns: 10, MaxOpenConns: 500, - DbName: "db_recook_v2", + DbName: "db_recook", }) if err != nil {