---
name: IBM DB2
menu: Connecting to Databases
route: /docs/databases/ibm-db2
index: 18
version: 1
---

## IBM DB2

The [IBM_DB_SA](https://github.com/ibmdb/python-ibmdbsa/tree/master/ibm_db_sa) library provides a
Python / SQLAlchemy interface to IBM Data Servers.

Here's the recommended connection string:

```
db2+ibm_db://{username}:{passport}@{hostname}:{port}/{database}
```
