Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what's the fastest way to change datasource passwords for an entire farm of servers in coldfusion?

Tags:

coldfusion

The question says it all: I want to change information about datasources on multiple coldfusion servers. Can this be scripted? Ideally, a solution would work on both CFMX 6.1 and CF8

like image 730
marc esher Avatar asked Dec 05 '25 18:12

marc esher


1 Answers

Can you use the API cfc's for version 8

http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=basiconfig_37.html

With 6.1 I think you are out of luck. It stores the password in an XML file somewhere I believe, you'd have to read it in change it and save. That would work for both versions.

like image 135
Kevin Schmidt Avatar answered Dec 11 '25 01:12

Kevin Schmidt