display-medicalDatabase Connections

Database connections ..

circle-exclamation

Workshop - Database connections

Database Connection

circle-info

Workshop files

Download the following file.

Keep the filename unchanged.

Save it in your workshop folder.


circle-info

Create a new transformation

Use any of these options to open a new transformation tab:

  • Select File > New > Transformation

  • Use Ctrl+N (Windows/Linux) or Cmd+N (macOS)


circle-info

DBeaver

DBeaver is optional. Use it to confirm the database is reachable before you touch PDI.

DBeaver CE ships with most drivers. That makes it a fast connectivity check.

circle-exclamation
circle-info

MySQL Database

If you completed the Setuparrow-up-right, you should have a MySQL Docker container. It should be exposed on port 3306 and include the sampledata database.

  1. Launch DBeaver and select MySQL.

MySQL
  1. Configure the connection:

  • Username: root

  • Password: password

Configure & Test MySQL connection - sampledata
circle-exclamation
Enable: allowPublicKeyRetrieval
  1. Test the connection.

Test connection
  1. Expand Databases > sampledata > Tables.

Customer Data
  1. Open a SQL window and run a test query:

Sql query - NYC Customers
circle-check

Last updated

Was this helpful?