Data Security
Published -
June 2025
Updated -
June 2025

Connecting to your Amazon RDS for Db2 DB instance with DBHawk

Manish Shah

This blog post explains how to connect to your AWS RDS Db2 database with DBHawk.

First login to your AWS account and create a Db2 database.

AWS

Choose the right license version and database version

AWS

Choose the right credentials

AWS

After successfully creating your database, find out endpoint and port number

AWS

Now go to DBHawk and configure this connection

AWS

Here important is how to pass JDBC parameters to the JDBC URL

jdbc:db2://db2.cngaig57t2r1.us-east-1.rds.amazonaws.com:50000/dsparc:encryptionAlgorithm=2;securityMechanism=7;

encryptionAlgorithm=2

securityMechanism=7

Click on Test to make sure that connection is working

AWS

Connect to the Db2 database and run query to get the Db2 version information

AWS

Download sample books schema and create tables and insert data

AWS

Insert the data

AWS

For more examples and tutorials, visit https://www.db2tutorial.com/

You may also like
Data Security
Microsoft Purview: A Practical Guide to Data Security, Governance, and Compliance
Data Security
Collibra Alternatives: Why Most Teams Replace the Wrong Layer
Build Advanced SQL Queries with DBHawk
Start a free trial or request a demo today to learn how DBHawk can optimize your database queries. Our free trial includes all of the basic features plus premium access.
Get Started Free
No Credit card required!

Many Databases, Single Tool, No Client Software

Get started for free. Sign Up to see how DBHawk provides zero trust database access and development across all databases.
Get Started Free
No Credit card required!