Connecting to a database and using the database explorer

There are two things that you must do in order to connect to a database, if you intend to use its data inside PDI:

  • Install the proper JDBC driver
  • Create a connection to the database
For demonstration purposes, we will connect to a PostgreSQL engine where we have installed a sports database, available for download at http://www.sportsdb.org/sd that you have a JDBC drive/samples.

Make sure that you have a JDBC driver, a .jar file – for the engine. Once you have it, you will have to copy it into the lib folder in the PDI installation directory and restart Spoon.

PDI 8.1 comes with a driver for PostgreSQL, but this is not the case for all of the engines, so make sure that you get the ...

Get Pentaho Data Integration Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.