42 lines
1.3 KiB
JSON
42 lines
1.3 KiB
JSON
{
|
||
//DefaultConnection这个节点不能删
|
||
"DefaultConnection": "Data Source=118.178.224.202;Port=3310;Database=yongjiangbei_vote;User ID=root;Password=root.Ewide;pooling=true;sslmode=none;CharSet=utf8;",
|
||
"ConnectionStrings": [
|
||
/*
|
||
MySql = 0,
|
||
SqlServer = 1,
|
||
Sqlite = 2,
|
||
Oracle = 3,
|
||
PostgreSQL = 4,
|
||
Dm = 5,
|
||
Kdbndp = 6
|
||
*/
|
||
{
|
||
//目前使用的数据库 Ewide.
|
||
"Id": "118_3310_ewide",
|
||
"DBType": 0,
|
||
"Enabled": true,
|
||
"ConnectionString": "Data Source=118.178.224.202;Port=3310;Database=yongjiangbei_vote;User ID=root;Password=root.Ewide;pooling=true;sslmode=none;CharSet=utf8;"
|
||
},
|
||
{
|
||
"Id": 1, // 连接id,可以配置到数据库
|
||
"DBType": 2, // db类型,枚举,具体的看上边
|
||
"Enabled": false, // 是否开启当前数据库db
|
||
"Connection": "WMBlog.db" // 连接字符串
|
||
},
|
||
{
|
||
//不知道干什么用的
|
||
"Id": "PgSqlConnection",
|
||
"DBType": 4,
|
||
"Enabled": true,
|
||
"ConnectionString": "HOST=127.0.0.1;PORT=5432;DATABASE=ewide;PASSWORD=postgres;USER ID=postgres;"
|
||
},
|
||
{
|
||
|
||
"Id": "MultiTenantConnection",
|
||
"DBType": 2,
|
||
"Enabled": true,
|
||
"ConnectionString": "Data Source=./Dilon_SaaS.db"
|
||
}
|
||
]
|
||
} |