From c3c1bf8994d333c55ca3daec7967371c63b5a01e Mon Sep 17 00:00:00 2001 From: ClearWang <1585993500@qq.com> Date: Fri, 29 Nov 2019 10:48:53 +0800 Subject: [PATCH] Update MyIni.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit db允许无密码登录 --- data/config/MyIni.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/config/MyIni.go b/data/config/MyIni.go index 6750a1b..114c6ee 100644 --- a/data/config/MyIni.go +++ b/data/config/MyIni.go @@ -19,7 +19,7 @@ type MysqlDbInfo struct { Host string `validate:"required"` // Host. 地址 Port int `validate:"required"` // Port 端口号 Username string `validate:"required"` // Username 用户名 - Password string `validate:"required"` // Password 密码 + Password string // Password 密码 Database string `validate:"required"` // Database 数据库名 }