码迷,mamicode.com
首页 > 数据库 > 详细

.Net 5.0 项目数据库连接字符串

时间:2021-04-19 15:53:01      阅读:0      评论:0      收藏:0      [点我收藏+]

标签:bsp   test   port   字符   ons   asa   protoc   toc   active   

 1 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   

原文地址:https://www.cnblogs.com/IIXS/p/14670537.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!