question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

It would be fantastic to have DB2 support in Sequelize. This would allow us to use it in a corporate environment with one of our customers.

What you are doing?

Trying to connect to a IBM DB2 database which is part of a AS/400 IBM i Series.

What do you expect to happen?

I am able to connect to the DB2 database and issue SQL statements.

What is actually happening?

Error: The dialect db2 is not supported. Supported dialects: mariadb, mssql, mysql, postgres, and sqlite.

Dialect: db2 Database version: v9.7.0.1 Sequelize version: 3.23.4

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:9
  • Comments:19 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
chrisdewarcommented, Sep 1, 2016

Just came across this because I am looking for the same functionality.

Have you considered pulling out your dialects from the sequelize code and packaging them separately? Then I am free to inject whichever dialect to sequelize I like (rather than selecting from a predefined list), and developers are enabled to create their own dialects…

Let me know if interested 😃

1reaction
bimalkjhacommented, Oct 5, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

Connecting to your Db2 database - IBM
Collect database details and credentials. To connect to your database, you need database details (such as the host name), as well as credentials...
Read more >
Add an IBM Db2 database connection | ThoughtSpot Software
Add an IBM Db2 database connection · Click Connections in the top navigation bar. · In the Connections interface, click Add connection in...
Read more >
Installing and Configuring DB2 Clients
Start the ODBC application and go to the Open window. Select the ODBC databases file type. The DB2 databases that you added as...
Read more >
Can you add DB2 support? - HeidiSQL
Can you add DB2 support? ... DB2 is accessible via ODBC only, right? ... not right. RazorSQL can access to DB2 without ODBC...
Read more >
Configuring DB2 Databases
Step 4: configure the DB2 client connection · Open the DB2 Client Configuration Assistant from the DB2 for Windows NT program folder. ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found