From 744818b6f46b45e0c597c277c4695a5c0de5b44e Mon Sep 17 00:00:00 2001 From: lixiaoshuang <644968328@qq.com> Date: Sun, 19 Dec 2021 20:14:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0mysql=20=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/config.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/common/config.go b/common/config.go index b177786..4a7f180 100644 --- a/common/config.go +++ b/common/config.go @@ -112,9 +112,6 @@ func checkConfig() error { if Config.Store.User == "" { return errors.New("Db user not valid ") } - if Config.Store.Password == "" { - return errors.New("Db password not valid ") - } } return nil }