Generating database connection configs

I need to generate db connection config files on the fly for our developers. We have several environments each with about a hundred databases. I already can query our config database and get all the information necessary to configure an ssh tunnel and db connection. What I need to know is the format for writing the config file for the connections. I also want to mark all the connections read-only.

Is this possible? Is there a file for each connection?

0

请先登录再写评论。