Connect to a database using a dedicated connector node
Use a dedicated connector node when KNIME provides one for your database. Dedicated connectors include the correct JDBC driver and a configuration tailored to that database.
Before you begin
- Identify which database you are connecting to. See the list of supported databases below.
- If your database requires a third-party driver (for example, Google BigQuery or Amazon Redshift), register the driver first. See Register a JDBC driver or Install a third-party database driver plug-in.
Supported databases with dedicated connector nodes
The following databases have dedicated connector nodes:
- Amazon Athena
- Amazon Redshift
- Google BigQuery
- H2
- Microsoft Access
- Microsoft SQL Server
- MySQL
- Oracle
- PostgreSQL
- Snowflake
- SQLite
- Vertica
If your database is not in this list, use the generic DB Connector node instead. See Connect to a database with the generic DB Connector.
Connect to the database
Configure the dedicated connector node to establish the connection. If your database is file-based (H2, SQLite, or Microsoft Access), see Connect to a file-based database instead — its connection parameters differ from server-based databases.
- Add the connector node for your database (for example, MySQL Connector) to the workflow.
- Click the node once to open its configuration.
- Under Location, enter the connection parameters for your database. Available fields vary by database, but typically include the hostname, port, and database name.
- Under Authentication, select an authentication type and provide credentials. Enter a username and password directly, or use a credential flow variable.
- Optionally, expand Show advanced settings to configure JDBC parameters or other advanced options. See Connector node settings for details.
- Click Apply and Execute to save the configuration and execute the node.
Driver version
Select Use latest driver version available to have the node automatically use the highest available driver version. This avoids manual updates after driver upgrades, though driver behavior changes between versions may affect type mapping in rare cases.