mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
24 lines
620 B
Plaintext
24 lines
620 B
Plaintext
---
|
|
title: IBM DB2
|
|
hide_title: true
|
|
sidebar_position: 23
|
|
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}
|
|
```
|
|
|
|
There are two DB2 dialect versions implemented in SQLAlchemy. If you are connecting to a DB2 version without `LIMIT [n]` syntax, the recommended connection string to be able to use the SQL Lab is:
|
|
|
|
```
|
|
ibm_db_sa://{username}:{passport}@{hostname}:{port}/{database}
|
|
```
|