Categories

Versions

You are viewing the RapidMiner Server documentation for version 9.5 - Check here for latest version

Create connections

As an example we like to create a PostgreSQL database connection. The connection should allow users to use their own credentials and database host. For this example we assume you have the connection manager role which is required in order to create connections. Please visit the permissions page for further information on how to manage permissions of connections.

  1. Open RapidMiner Studio and create a new connection by right-clicking on the pre-defined Connections folder within your RapidMiner Server repository.
  2. Define your connection:

    Add a name, select Database as type and the RapidMiner Server repository as location for your connection.

    Optionally fill out additional information like a description and tags.

    As pointed out above, we like to share this connection with other users on RapidMiner Server. They should be able to use their own credentials and host. For this, we set user, password and host as injected by clicking on the Set injected parameters button in the Basic tab. Be sure to select RapidMiner Server as source for the injected parameter. This will then use your RapidMiner Server.

    After clicking on Save, you'll see that the parameters have been set to injected.

    As final step to finish the connection creation, go to the Driver tab and select the PostgreSQL driver.

    After pressing Save again you'll now be able to see the newly created connection within the pre-defined /Connections folder where all connections for all users reside.

    The connection is nearly ready to be used in a process and visible in the web interface of RapidMiner Server. RapidMiner execution now needs to know what values should be used for the parameters you've just set as injected. In order to do so, please follow the instructions outlined in the set user-specific parameter values section. You might also want to consider sharing your connection.