SP_6721
Honored Contributor II

Hi @FRB1984 ,

It looks like the ibm_db package doesn’t support the Python version currently used in your Databricks environment.
Instead of relying on ibm_db, you can use Spark’s JDBC connector with the IBM DB2 JDBC driver for a more stable and supported way to connect to DB2 from Databricks.

You can refer to this related post for setup guidance: https://community.databricks.com/t5/data-engineering/db2-jdbc-connection-from-databricks-cluster/m-p...