From ae5c23af1a4fc15e9421f7e961ecd7060af57adb Mon Sep 17 00:00:00 2001 From: Bitxx <> Date: Wed, 28 Feb 2024 21:53:35 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=86=85=E5=AE=B9=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.yml b/settings.yml index 35391c9..b15ab32 100644 --- a/settings.yml +++ b/settings.yml @@ -23,7 +23,7 @@ database: # 目前仅支持mysql driver: mysql # 数据库连接字符串 mysql 缺省信息 charset=utf8&parseTime=True&loc=Local&timeout=1000ms - source: root:xxx@tcp(127.0.0.1:8990)/evm-scan?charset=utf8&parseTime=True&loc=Local&timeout=1000ms + source: root:xxx@tcp(127.0.0.1:3306)/evm-scan?charset=utf8&parseTime=True&loc=Local&timeout=1000ms # 最大连接时间,按官方建议,不建议超过500秒,参考:https://github.com/go-sql-driver/mysql connMaxLifetime: 180 # 最大连接数