I have a flask application which connects to an initial database which simply holds login data (user credentials, passwords etc...) - this is working fine.
But, Each user gets their own database when they create an account (necessary for security purposes and individual access)
Once the user logs in, the app queries the users login credentials for their unique database url.
How do I take this database url and connect the second database "on the fly" so to say. Is it even possible?
Using python, flask and sqlalchemy.
