Node.js 节点-错误:不支持该方言。支持的方言:mssql、mysql、postgres和sqlite
我有一个节点服务器,数据库是mariadb。当我尝试连接到DB时,出现错误Node.js 节点-错误:不支持该方言。支持的方言:mssql、mysql、postgres和sqlite,node.js,mariadb,sequelize.js,Node.js,Mariadb,Sequelize.js,我有一个节点服务器,数据库是mariadb。当我尝试连接到DB时,出现错误 Error('The dialect ' + this.getDialect() + ' is not supported. Supported dialects: mssql, mysql, postgres, and sqlite.'); ^ Error: The dialect mariadb is not supported. Supported dialects: mssql, mysql, po
Error('The dialect ' + this.getDialect() + ' is not supported.
Supported dialects: mssql, mysql, postgres, and sqlite.');
^
Error: The dialect mariadb is not supported. Supported dialects:
mssql, mysql, postgres, and sqlite.
at new Sequelize (/node_modules/sequelize/lib/sequelize.js:236:15)
我有模块
mariadb:^2.1.1
mariasql:^0.2.6
续集:^4.37.6
mysql2:^1.7.0
如果有人知道的话,请告诉我
提前感谢我通过将sequelize版本更新为5来解决问题-一直滚动到底部。