Specify data connections for the Pentaho Server
For business analytics, you can use the Pentaho User Console to define the connection to where you store data.
We support accessing data stored in the following ways:
- Comma separated values (CSV) files or any file that can be converted to CSV, such as spreadsheets, XML, or other semi-structured or tabular data file. To work with CSV files, you only need to know the location of the files. Use CSV files if you are evaluating Pentaho or you want to get started quickly.
- JDBC drivers to help with database connections.
In Pentaho Data Integration (PDI), you can make connections in each job and transformation through an input step. Although users can create connections themselves, it is best to set up shared connections for your users so that they can simply select the connection they need from a list. We help you download the correct JDBC drivers, choose the connection type, and then create the connection.
JDBC database connections
To connect to databases, install the driver for your database, as well as define the access protocol and settings now. You can choose from these access protocols:
This is a commonly used access protocol. Please see details in the Database Access Protocol Decision Table to ensure you make an informed choice.
This also is a commonly used access protocol. Please see details in the Database Access Protocol Decision Table to ensure you make an informed choice.
We do not support ODBC, but we make it available in case you need it. If you must use ODBC, contact Pentaho Support to ensure you are successful.
If you are connecting to an Oracle database, click this link to install the appropriate OCI driver and add the OCI connection now.
|Explore Considerations||Choose Options|
Native (JDBC) connections are the easiest way to get going quickly. You specify the connection information in PUC. The connections are controlled by the Pentaho Server.
If the connection information changes, you change it in PUC for each connection you have defined.
JNDI connections are maintained in the application server, offering more advanced configuration options. One typical use case is you may want to hide security credentials from administrators of the Pentaho system. You specify the connection information by editing the context.xml file and selecting JNDI as the access type in PUC.
If the connection information changes, you change the context.xml file.
|Expertise||Knowledge of the JDBC driver and options for your RDBMS||Knowledge of Tomcat or JBoss JNDI connection procedures and options|
|Recommendation||Use for the Pentaho Trial Download and evaluation.||Use for production, when the work environment is distributed in a network, or if you want to hide security credentials from Pentaho administrators.|
To learn how to specify data connections, see the articles below:
- Set up native (JDBC) or OCI data connections for the Pentaho Server
- Set up JNDI connections for the Pentaho Server
To learn how to define data connections, see Define data connections.