From c8da3268e0307702afcf3f2dd2e18a8b2498d526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=BA=E8=83=BD=E5=A4=A7=E7=9F=B3=E5=A4=B4?= Date: Thu, 7 Nov 2024 23:41:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Stardust.Server/appsettings.json | 26 ++++++++++++++++---------- Stardust.Web/appsettings.json | 24 +++++++++++++++--------- 2 files changed, 31 insertions(+), 19 deletions(-) diff --git a/Stardust.Server/appsettings.json b/Stardust.Server/appsettings.json index 0125d615..aaabfc42 100644 --- a/Stardust.Server/appsettings.json +++ b/Stardust.Server/appsettings.json @@ -1,28 +1,34 @@ { "Logging": { "LogLevel": { - "Default": "Warning", + "Default": "Information", "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information" } }, "AllowedHosts": "*", - "RedisQueue": "", + //"RedisQueue": "server=127.0.0.1;password=123456;db=3", "StarServer": "http://127.0.0.1:6600", "ConnectionStrings": { "Stardust": "Data Source=..\\Data\\Stardust.db;ShowSql=false;Provider=SQLite", "StardustData": "Data Source=..\\Data\\StardustData.db;ShowSql=false;Provider=SQLite", "Membership": "Data Source=..\\Data\\Membership.db;Provider=SQLite", - // 各种数据库连接字符串模版,连接名Zero对应Zero.Data/Projects/Model.xml中的ConnName - //"Zero": "Server=.;Port=3306;Database=zero;Uid=root;Pwd=root;Provider=MySql", - //"Zero": "Data Source=.;Initial Catalog=zero;user=sa;password=sa;Provider=SqlServer", - //"Zero": "Server=.;Database=zero;Uid=root;Pwd=root;Provider=PostgreSql", - //"Zero": "Data Source=Tcp://127.0.0.1/ORCL;User Id=scott;Password=tiger;Provider=Oracle" + // 各种数据库连接字符串模版 + //"Stardust": "Server=.;Port=3306;Database=star;Uid=root;Pwd=root;ShowSql=false;Provider=MySql", + //"StardustData": "MapTo=Stardust", + //"Membership": "Server=.;Port=3306;Database=star;Uid=root;Pwd=root;Provider=MySql", - //"Membership": "Server=.;Port=3306;Database=zero;Uid=root;Pwd=root;Provider=MySql", - //"Membership": "Data Source=.;Initial Catalog=zero;user=sa;password=sa;Provider=SqlServer", - //"Membership": "Server=.;Database=zero;Uid=root;Pwd=root;Provider=PostgreSql", + //"Stardust": "Data Source=.;Initial Catalog=star;user=sa;password=sa;ShowSql=false;Provider=SqlServer", + //"StardustData": "MapTo=Stardust", + //"Membership": "Data Source=.;Initial Catalog=star;user=sa;password=sa;Provider=SqlServer", + + //"Stardust": "Server=.;Database=star;Uid=root;Pwd=root;ShowSql=false;Provider=PostgreSql", + //"StardustData": "MapTo=Stardust", + //"Membership": "Server=.;Database=star;Uid=root;Pwd=root;Provider=PostgreSql", + + //"Stardust": "Data Source=Tcp://127.0.0.1/ORCL;User Id=scott;Password=tiger;ShowSql=false;Provider=Oracle" + //"StardustData": "MapTo=Stardust", //"Membership": "Data Source=Tcp://127.0.0.1/ORCL;User Id=scott;Password=tiger;Provider=Oracle" // 魔方审计日志使用Membership的连接字符串 diff --git a/Stardust.Web/appsettings.json b/Stardust.Web/appsettings.json index 49c0347f..2248908b 100644 --- a/Stardust.Web/appsettings.json +++ b/Stardust.Web/appsettings.json @@ -11,18 +11,24 @@ "StarServer": "http://127.0.0.1:6600", "ConnectionStrings": { "Stardust": "Data Source=..\\Data\\Stardust.db;Provider=SQLite", - "StardustData": "Data Source=..\\Data\\StardustData.db;ShowSql=false;Provider=SQLite", + "StardustData": "Data Source=..\\Data\\StardustData.db;Provider=SQLite", "Membership": "Data Source=..\\Data\\Membership.db;Provider=SQLite", - // 各种数据库连接字符串模版,连接名Zero对应Zero.Data/Projects/Model.xml中的ConnName - //"Zero": "Server=.;Port=3306;Database=zero;Uid=root;Pwd=root;Provider=MySql", - //"Zero": "Data Source=.;Initial Catalog=zero;user=sa;password=sa;Provider=SqlServer", - //"Zero": "Server=.;Database=zero;Uid=root;Pwd=root;Provider=PostgreSql", - //"Zero": "Data Source=Tcp://127.0.0.1/ORCL;User Id=scott;Password=tiger;Provider=Oracle" + // 各种数据库连接字符串模版 + //"Stardust": "Server=.;Port=3306;Database=star;Uid=root;Pwd=root;Provider=MySql", + //"StardustData": "MapTo=Stardust", + //"Membership": "Server=.;Port=3306;Database=star;Uid=root;Pwd=root;Provider=MySql", - //"Membership": "Server=.;Port=3306;Database=zero;Uid=root;Pwd=root;Provider=MySql", - //"Membership": "Data Source=.;Initial Catalog=zero;user=sa;password=sa;Provider=SqlServer", - //"Membership": "Server=.;Database=zero;Uid=root;Pwd=root;Provider=PostgreSql", + //"Stardust": "Data Source=.;Initial Catalog=star;user=sa;password=sa;Provider=SqlServer", + //"StardustData": "MapTo=Stardust", + //"Membership": "Data Source=.;Initial Catalog=star;user=sa;password=sa;Provider=SqlServer", + + //"Stardust": "Server=.;Database=star;Uid=root;Pwd=root;Provider=PostgreSql", + //"StardustData": "MapTo=Stardust", + //"Membership": "Server=.;Database=star;Uid=root;Pwd=root;Provider=PostgreSql", + + //"Stardust": "Data Source=Tcp://127.0.0.1/ORCL;User Id=scott;Password=tiger;Provider=Oracle" + //"StardustData": "MapTo=Stardust", //"Membership": "Data Source=Tcp://127.0.0.1/ORCL;User Id=scott;Password=tiger;Provider=Oracle" // 魔方审计日志使用Membership的连接字符串