Skip to content

Commit

Permalink
Updade connection prefix (#12673)
Browse files Browse the repository at this point in the history
The connection prefix should be different if the DB2 dialect is different.
  • Loading branch information
cabo40 authored Jan 22, 2021
1 parent e80cd61 commit b1c203b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/src/pages/docs/Connecting to Databases/ibm-db2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ 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}
```

0 comments on commit b1c203b

Please sign in to comment.