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:
Native (JDBC)
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
Summary
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 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:
To learn how to define data connections, see Define data connections.
Last updated
Was this helpful?