Parameterizing the database connection

rachel_lomaskyrachel_lomasky MemberPosts:52Guru
edited November 2018 inHelp

I have a process that makes several database touches (read/write/execute sql). Is it possible to parameterize the database connection? I'd like to be able to switch it to write to the dev/staging/prod databases without having to manually change each operator.

Tagged:

Best Answer

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University ProfessorPosts:3,404RM Data Scientist
    Solution Accepted

    Hi,

    i think the most convinient way is to use a Subprocess or Branch opertor and choose depending on a macro.

    Antoher way could be to use a macro in the Read Database COnnection setting. You need to put this one into the XML though.

    Best,

    Martin

    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
    Thomas_Ott

Answers

  • rachel_lomaskyrachel_lomasky MemberPosts:52Guru

    Thank you! I had suspected the XML solution was going to be my best option.

Sign InorRegisterto comment.