🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Write Database/ODBC connection

User: "KellyM"
New Altair Community Member
Updated by Jocelyn

Hello,

 

I am having a problem with the Write Database operator; more specifically, the database connection between RapidMiner Studio and SQL Server. I have created a new connection using the below parameters (masking the actual names of the server and instance that I'm attempting to connect to).  It seems that I can only get connected to the master database even though I'm putting a specific database within the master into the Database scheme box.  I need to write the results of a model to a specific database in SQL but when I try to use the write database operator, only master database tables are shown as options.  Am I missing something in the set up? SQL Server isn't housed on my machine so I cannot use the server name or IP address in the set up details.

 

RM_ODBC.png

 

Thank you,

 

Kelly

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Edin_Klapic"
    New Altair Community Member
    Accepted Answer

    Hi @KellyM,

     

    one last idea I have is to integrate the database name in the connection string.

    This would mean you enter

    <server>:<port>;instance=<instance>;databaseName=<schema>;integratedSecurity=true

    in the parameter "host" of your MS SQL database connection and remove the values for Port and Database Scheme.

    The resulting URL should look as follows:

    jdbc:jtds:sqlserver://<server>:<port>;instance=<instance>;databaseName=<schema>;integratedSecurity=true

     

    Best regards,

    Edin