This commit is contained in:
yumoqing 2021-07-22 16:32:18 +08:00
parent aad639f19a
commit ef677f301a
2 changed files with 27 additions and 0 deletions

26
databases.json Normal file
View File

@ -0,0 +1,26 @@
{
"mysql":{
"driver":"aiomysql",
"async_mode":true,
"coding":"utf8",
"dbname":"homedata",
"maxconn":100,
"kwargs":{
"user":"test",
"db":"homedata",
"password":"test123",
"host":"localhost"
}
},
"sqlite3":{
"driver":"aiosqlite",
"async_mode":true,
"coding":"utf8",
"dbname":"testdb",
"maxconn":100,
"kwargs":{
"database":"./ttttt.db"
}
}
}

View File

@ -1,4 +1,5 @@
aiomysql
mysql-connector
aiosqlite
asyncio
jinja2