数据库
首页 > 数据库> > .net core 连接mysql 六:创建数据库连接DefaultConnection

.net core 连接mysql 六:创建数据库连接DefaultConnection

作者:互联网

 

 

 

{
"ConnectionStrings": {
"DefaultConnection": "server=localhost;uid=root;pwd=123456;port=3306;database=fjxw_echarge;"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*"
}

标签:core,uid,Information,DefaultConnection,AllowedHosts,连接,Microsoft
来源: https://www.cnblogs.com/wugh8726254/p/16062226.html