I’m finding a solution to create multiple datasource by any script? because I have 50+ database to configure with Lucee. I’m doing manually by Lucee admin panel so I am looking for a good solution though. I would really appreciated if anyone has any solution out there!!
Note: Which file has stored these details on the server side?
You will need to tweak this a bit as I write terrible code and no I didnt check this as its roughly what I have, but cant copy due to work obligations.
Create a database in mysql or something with all 50 of your other database,usernames, passwords, connection settings, You can then do something like this.