Add DB2 Support
See original GitHub issueIt 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:
- Created 7 years ago
- Reactions:9
- Comments:19 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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 😃
@aaronbartell You can try it: https://github.com/ibmdb/sequelize