r/FastAPI • u/Full-Way24 • Aug 18 '22
Question unable to connect database
hi folks, I'm unable to connect to database(mariadb) and it's working fine out of the FastApi framework
0
Upvotes
r/FastAPI • u/Full-Way24 • Aug 18 '22
hi folks, I'm unable to connect to database(mariadb) and it's working fine out of the FastApi framework
2
u/quantum1eeps Aug 18 '22
The FastAPI documentation for this functionality is very clear. I’d check it out and come back with questions if you still have any. There are several steps for connecting to a db and you’ll probably want to familiarize yourself with Environmental Variables