From 66a70f6209cfdf1c6d5bbdcff16b0cefbd0c3469 Mon Sep 17 00:00:00 2001 From: zhuotianyuan Date: Thu, 22 Jan 2026 17:12:17 +0800 Subject: [PATCH] =?UTF-8?q?fix(config):=20=E6=9B=B4=E6=96=B0=E6=9C=AC?= =?UTF-8?q?=E5=9C=B0=E6=95=B0=E6=8D=AE=E5=BA=93=E9=85=8D=E7=BD=AE=E4=B8=BA?= =?UTF-8?q?=E8=BF=9C=E7=A8=8B=E6=9C=8D=E5=8A=A1=E5=99=A8=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将数据库连接配置从本地localhost改为远程服务器地址13.212.62.127,并调整端口为3306 同时启用数据库日志记录功能 --- src/config/config.local.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/config/config.local.ts b/src/config/config.local.ts index 1b92d9c..bd64204 100644 --- a/src/config/config.local.ts +++ b/src/config/config.local.ts @@ -19,12 +19,13 @@ export default { typeorm: { dataSource: { default: { - host: 'localhost', - port: "23306", + host: '13.212.62.127', + port: "3306", username: 'root', password: 'Yoone!@.2025', database: 'inventory_v2', - synchronize: true + synchronize: true, + logging: true, }, }, },