Good morning everyone!

I'm creating a multi tenancy structure and am wondering the best way to store the clients database connection string (IE: database name, user, password). I've seen things say to store the database name in the client database (but nothing about user and pass), or the information in a config file or php file outside of document root. Any tips or ideas would be greatly appreciated. Thanks.