Hi all! Thank you for be there
I’m trying to set up a mysql connection with Env.Key DB_DEFAULT (name) and a second parameter when there is no key at this environment to set a dynamic database name equal to a subdomain , for example from forum.adonisjs.com i should pass as parameter forum, to be the database name adonis has to resolve.
I have tried with dns library at this point but i think i’m confused and i don’t see how to take request.hostname from adonis at configuration step at this point.
Thanks for help