Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

using variable names for a database connection in Pentaho Kettle

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?

like image 502
Akn Avatar asked Feb 25 '26 01:02

Akn


1 Answers

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.

blue diamond s

like image 177
bolav Avatar answered Mar 04 '26 01:03

bolav



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!