Skip to content

guide on using external DB? #509

Answered by cdubz
cbc02009 asked this question in Q&A
Aug 2, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Sorry about the dead link. I just broke that documentation in to subsections.

I don't have an example for you (perhaps someone else using LSIO may be able to cook one up) but essentially you need to pass those environment variables to the app to use them.

The primary (and probably most confusing) on you'll need for you situation is DB_ENGINE which you can set to django.db.backends.mysql for MariaDB support.

The rest of the variables should be pretty self-explanatory (host, name, user, password, port).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@cbc02009
Comment options

@cdubz
Comment options

Answer selected by cbc02009
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants