From 5c725b102650cc28a8e2040eac06e435ed6e60c9 Mon Sep 17 00:00:00 2001 From: yubaolee Date: Fri, 6 Dec 2024 10:10:32 +0800 Subject: [PATCH] =?UTF-8?q?fix=20#IB8Y94=20=E4=BF=AE=E5=A4=8D=E5=8D=87?= =?UTF-8?q?=E7=BA=A7.NET=209=E5=90=8Esqlsugar=E5=85=BC=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Infrastructure/Infrastructure.csproj | 2 +- OpenAuth.Identity/appsettings.json | 2 +- OpenAuth.Mvc/appsettings.json | 2 +- OpenAuth.Repository/OpenAuth.Repository.csproj | 2 +- OpenAuth.WebApi/appsettings.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Infrastructure/Infrastructure.csproj b/Infrastructure/Infrastructure.csproj index e25346c8..f8b852a5 100644 --- a/Infrastructure/Infrastructure.csproj +++ b/Infrastructure/Infrastructure.csproj @@ -21,7 +21,7 @@ - + diff --git a/OpenAuth.Identity/appsettings.json b/OpenAuth.Identity/appsettings.json index dd34451f..631a292b 100644 --- a/OpenAuth.Identity/appsettings.json +++ b/OpenAuth.Identity/appsettings.json @@ -6,7 +6,7 @@ }, "AllowedHosts": "*", "ConnectionStrings": { - "OpenAuthDBContext": "Data Source=.;Initial Catalog=OpenAuthDB;User=sa;Password=000000" + "OpenAuthDBContext": "Data Source=.;Encrypt=false;Initial Catalog=OpenAuthDB;User=sa;Password=000000" //"OpenAuthDBContext": "server=127.0.0.1;user id=root;database=openauthdb;password=000000" //my sql }, "AppSetting": { diff --git a/OpenAuth.Mvc/appsettings.json b/OpenAuth.Mvc/appsettings.json index 53e381f1..29aad41a 100644 --- a/OpenAuth.Mvc/appsettings.json +++ b/OpenAuth.Mvc/appsettings.json @@ -7,7 +7,7 @@ "AllowedHosts": "*", "DataProtection": "temp-keys/", "ConnectionStrings": { - "OpenAuthDBContext": "Data Source=.;Initial Catalog=OpenAuthDB;User=sa;Password=000000" + "OpenAuthDBContext": "Data Source=.;Encrypt=false;Initial Catalog=OpenAuthDB;User=sa;Password=000000" //"OpenAuthDBContext": "server=127.0.0.1;user id=root;database=openauthdb;password=000000" //my sql //"OpenAuthDBContext": "Host=localhost;Port=5432;Database=OpenAuth;Username=postgres;Password=123;" //PostgreSQL }, diff --git a/OpenAuth.Repository/OpenAuth.Repository.csproj b/OpenAuth.Repository/OpenAuth.Repository.csproj index d5ac3f7d..73125d25 100644 --- a/OpenAuth.Repository/OpenAuth.Repository.csproj +++ b/OpenAuth.Repository/OpenAuth.Repository.csproj @@ -24,7 +24,7 @@ - + diff --git a/OpenAuth.WebApi/appsettings.json b/OpenAuth.WebApi/appsettings.json index 69441f7a..68ed917d 100644 --- a/OpenAuth.WebApi/appsettings.json +++ b/OpenAuth.WebApi/appsettings.json @@ -7,7 +7,7 @@ "AllowedHosts": "*", "DataProtection": "temp-keys/", "ConnectionStrings": { - "OpenAuthDBContext": "Data Source=.;Initial Catalog=OpenAuthDB;User=sa;Password=000000" + "OpenAuthDBContext": "Data Source=.;Encrypt=false;Initial Catalog=OpenAuthDB;User=sa;Password=000000" //"OpenAuthDBContext": "server=127.0.0.1;user id=root;database=openauthdb;password=000000" //my sql //"OpenAuthDBContext": "Host=localhost;Port=5432;Database=OpenAuth;Username=postgres;Password=123;" //PostgreSQL //"OpenAuthDBContext2": "DATA SOURCE=192.168.0.118:1521/YUBAO;PASSWORD=000000;Validate Connection=true;PERSIST SECURITY INFO=True;USER ID=yubaolee;" //Oracle