dongweiming / lyanna

My Blog Using Sanic
http://www.dongwm.com
GNU General Public License v3.0
637 stars 173 forks source link

哈喽,请问,数据库的密码从哪设置呢? #17

Closed opswm closed 5 years ago

opswm commented 5 years ago

丢人。。没找到配置数据库用户名和密码的地方。

danerlt commented 5 years ago

image 参考自tortoise官方文档,在conf.py中有一个DB_URL,设置下就可以了,具体可查看https://tortoise-orm.readthedocs.io/en/latest/databases.html#db-url

danerlt commented 5 years ago

@ChampionWolf

opswm commented 5 years ago

@Lt-grint 感谢!