.Net 5.0 项目数据库连接字符串
时间:2021-07-01 10:21:17
帮助过:40人阅读
1.MSSQLSERVER
2
3 "ConnectionStrings": {
4
5 "DefaultConnection":
"Server=127.0.0.1;Database=HXCDataPermission_test;user id=sa;password=sasa;MultipleActiveResultSets=true"
6
7 }
8
9 2.Oracle
10
11 "ConnectionStrings": {
12
13 "DefaultConnection":
"User Id=system;Password=orcl;Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))"
14
15 }
16
17 3.MySql
18
19 "ConnectionStrings": {
20 "DefaultConnection":
"server=127.0.0.1;database=mydatabase;user=root;pwd=root"
21 }
22
23 4.Redis
24
25 "ConnectionStrings": {
26
27 "RedisConnection":
"127.0.0.1:6379,password=redis"
28
29 }
.Net 5.0 项目数据库连接字符串
标签:bsp test port 字符 ons asa protoc toc active