.Net 5.0 项目数据库连接字符串
作者:互联网
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 }
标签:5.0,127.0,0.1,数据库,ConnectionStrings,user,Net,password,DefaultConnection 来源: https://www.cnblogs.com/IIXS/p/14670537.html