Skip to content
KNIME Documentation
Main Navigation Get startedBuildWork with KnimeAccount and adminRelease notesDeveloper tools
Community Hub
DevelopersKnime
Sidebar Navigation

Getting Started

Installation

User Guide

Release Notes

Install Extensions

Building Workflows

Components

Flow Control

Expressions

File Handling

Deployment

Integrated Deployment

Workflow Invocation

Best Practices

Advanced Features

AI Extension

Get Started

Build an Agent

Inject context with RAG

LLM Providers

Tutorials

Summarize product reviews

Product FAQ assistant

Restaurant agent

Your first local agent

Task extractor

Reporting

Kerberos

Extensions

Database

Overview

Tutorials

Read and filter data from a database

Write a transformed dataset to a database

Concepts

Ports and Sessions

Query Generation

Type Mapping

Deprecated Framework

Connecting

Connect: Dedicated Node

Connect: File-Based Database

Connect: Generic DB Connector

Register a JDBC Driver

Install Third-Party Driver Plug-in

Drivers on Hub and Server

Kerberos Constrained Delegation

Reading and Transforming

Read Data

Transform Data Visually

Run a Custom SQL Query

Parameterize a Query

Writing and Modifying

Insert, Update, or Merge

Delete Rows

Bulk Load Data

Create and Remove Tables

Use Transactions

Reference

Connector Node Settings

JDBC Driver Reference

Deprecated Node Mapping

Migrate Deprecated Workflows

Python

Overview

Tutorials

Python Scripting Quickstart

Data App Development Using Plotly

Data Processing

K-AI Scripting Assistant

Data Type Conversion

Batch Processing

Jupyter Integration

Environment Management

Pixi Configuration

Dependency Management

Environment Persistence

Channel Mirrors & Air-Gapped Setups

Conda Migration

Alternative Configurations

Conda and Miniforge Setup

Conda Environment Propagation

Manual Python Configuration

Legacy Node Migration

Concepts

Pixi Backend Architecture

Storage Logic

Python Environments on Executors

Reference

Python Scripting API

Bundled Packages

Executor and Hub Configuration

Troubleshooting Guide

API Reference

Inputs and outputs

Classes

Views

Utility functions

R

Deep Learning

Snowflake

Google Cloud

Azure

AWS

Big Data

Big Data Admin

Big Data Secured Cluster

Databricks

Microsoft Fabric

Power BI

Tableau

Report Designer

H2O

Changelogs

Version 5.12

Version 5.11

Version 5.10

Version 5.9

Version 5.8

Version 5.7

Version 5.6

Version 5.5

Version 5.3

Extensions

Connect to a database with the generic DB Connector ​

Use the generic DB Connector node to connect to any JDBC-compliant database that does not have a dedicated connector node in KNIME.

Before you begin ​

  • Obtain the JDBC driver for your database from the database vendor.
  • Register the driver in KNIME Analytics Platform before configuring this node. See Register a JDBC driver.
  • Have the database connection details ready: hostname, port, database name, and credentials.

Connect to the database ​

Configure the DB Connector node to establish the connection.

  1. Add the DB Connector node to the workflow.
  2. Click the node once to open its configuration.
  3. Under Database Settings, set Database type to the type that matches your database. If your database is a PostgreSQL derivative, select Postgres. If you are unsure, select default.
  4. Set Database dialect to the dialect that controls how SQL statements are generated.
  5. In Database URL, enter the JDBC connection URL for your database, replacing the placeholders (host, port, database name) with actual values.
  6. Under Database Driver, keep Use latest driver version available selected to use the newest registered driver, or clear it to select a specific driver version. If no matching driver appears, register it first. See Register a JDBC driver.
  7. Under Authentication, set Authentication type to match your credentials — username and password, a credential flow variable, or Kerberos for databases that support it (for example, Hive or Impala).
  8. Optionally, expand Show advanced settings to configure JDBC parameters, type mapping, or other advanced options. See Connector node settings for details.
  9. Click Apply and Execute to save the configuration and execute the node.

Troubleshooting the connection

If the connection fails, expand Show advanced settings and enable JDBC logger under Additional Settings to log JDBC operations. If your database does not support the default identifier quoting character ("), change or remove Identifier delimiter in the same section.

Next steps ​

  • Read data from a database
  • Register a JDBC driver

Related pages ​

  • Connect to a database using a dedicated connector node
  • JDBC driver reference
  • Connector node settings
Pager
Next pageInstallation