From 782cb0d926e5c35db6aa3127edf8b83c51e1cc00 Mon Sep 17 00:00:00 2001 From: zhouyonggao <1971162852@qq.com> Date: Thu, 27 Nov 2025 16:49:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BA=93=E8=BF=9E=E6=8E=A5=E9=85=8D=E7=BD=AE=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E5=AF=86=E7=A0=81=E9=97=AE=E9=A2=98=E5=B9=B6=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新config.yaml中的数据库密码配置以解决连接问题 同时记录新的连接尝试和错误信息到日志文件 --- server/config.yaml | 4 ++-- server/log/server-20251127.log | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/server/config.yaml b/server/config.yaml index b43ee71..699a0cd 100644 --- a/server/config.yaml +++ b/server/config.yaml @@ -4,11 +4,11 @@ app: host: "192.168.6.92" port: "3306" user: "root" - password: "" + password: "lansexiongdi" name: "market" ymt_db: host: "47.97.27.195" port: "3306" user: "root" - password: "" + password: "lansexiongdi," name: "merketing" diff --git a/server/log/server-20251127.log b/server/log/server-20251127.log index 43e11af..96a4f8b 100644 --- a/server/log/server-20251127.log +++ b/server/log/server-20251127.log @@ -242,3 +242,6 @@ Error 1045 (28000): Access denied for user 'root'@'117.175.169.61' (using passwo connecting YMT MySQL: 47.97.27.195:3306 db merketing user root connecting Marketing MySQL: 192.168.6.92:3306 db market user root Error 1045 (28000): Access denied for user 'root'@'117.175.169.61' (using password: NO) +connecting YMT MySQL: 127.0.0.1:3306 db market user root +connecting Marketing MySQL: 127.0.0.1:3306 db market user root +Error 1049 (42000): Unknown database 'market'