Manage Datasources
List all datasources
cfconfig datasource list
cfconfig datasource list from=serverName
cfconfig datasource list from=/path/to/server/homecfconfig datasource list --JSONEdit an existing or create a new datasource
cfconfig datasource save name=myDSN dbdriver=mysql host=localhost port=3306 database=myDB username=brad password=foobar
cfconfig datasource save name=myDS ... to=serverName
cfconfig datasource save name=myDS ... to=/path/to/server/homeDelete a datasource
Last updated
Was this helpful?