Manage Multiple Databases

benhaynes asked for this feature about 1 year ago — 2 comments

benhaynes commented about 1 year ago Admin

This would be a global dropdown to change the DB you're connected to.

@hrwebasst: I'd suggest moving this further up the issue list. I have a use case that is probably pretty common. Installing automatically in my docker instance with my site download for development purposes. I have already easily bypassed the login and can add the schema in by default but it would be nice if Directus could be simply pointed at a database the user had perms for so that I can bake this for all of my users.

tl;dr Directus has own database points to one or multiple sub-databases on install would be awesome.

nums commented 7 months ago

How can you identify the DB on which the user logs on to the API?

Maybe like that ? curl -d "email=user@directus.local&password=pass123&db=mydb"

Join the discussion!

with GitHub to comment