From 6beb48eb2a66c7b5b032e3e367e1dde707895a3c Mon Sep 17 00:00:00 2001 From: wanggang <76527413@qq.com> Date: Thu, 3 Aug 2023 18:38:56 +0800 Subject: [PATCH] questdb.exe -d "D:\BJSettleCount\questdb-7.2.1-rt-windows-amd64\bin\qdbroot" install --- .../SettleAccount/host/SettleAccount.HttpApi.Host/Program.cs | 4 +++- .../host/SettleAccount.HttpApi.Host/appsettings.json | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Program.cs b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Program.cs index cd5930bf..5f982816 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Program.cs +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Program.cs @@ -21,7 +21,9 @@ public class Program } catch (Exception ex) { - throw new Exception("influxdb 启动失败", ex); + Console.Write("时序数据库启动失败"); + Console.Write(ex.ToString()); + //throw; } Log.Logger = new LoggerConfiguration() diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json index 4a628191..66591e7a 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json @@ -5,7 +5,8 @@ "ConnectionStrings": { "Default": "Server=dev.ccwin-in.com,13319;Database=BJABP;User ID=ccwin-in;Password=Microsoft@2022;Trusted_Connection=False;TrustServerCertificate=True", "SettleAccountService": "Server=dev.ccwin-in.com,13319;Database=BQ_SA;User ID=ccwin-in;Password=Microsoft@2022;Trusted_Connection=False;TrustServerCertificate=True;", - "WMSBJBMPT": "Server=dev.ccwin-in.com,6208;Database=WMS_BJBMPT_2;User ID=sa;Password=ChangkeTec@2021;Trusted_Connection=False;TrustServerCertificate=True;" + "WMSBJBMPT": "Server=dev.ccwin-in.com,6208;Database=WMS_BJBMPT_2;User ID=sa;Password=ChangkeTec@2021;Trusted_Connection=False;TrustServerCertificate=True;", + "questdb": "host=dev.ccwin-in.com;port=10580;username=admin;password=quest;database=vmi;ServerCompatibilityMode=NoTypeLoading;" }, "Serilog": { "Using": [],