using variable names for a database connection in Pentaho Kettle

好久不见. 提交于 2019-12-22 00:09:29

问题


I am working on PDI kettle. Can we define a variable and use it in a database connection name. So that if in future if i need to change the connections in multiple transformations i would just change the variable value in kettle properties file?


回答1:


Just use variables in the Database Connection.

For instance ${DB_HostName}, and ${DB_Name} etc.

Then just put it in your kettle.properties:

DB_HostName=localhost

You can see what fields that support variables by the S in the blue diamond.



来源:https://stackoverflow.com/questions/36052615/using-variable-names-for-a-database-connection-in-pentaho-kettle

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!