dbgate-plugin-mssql is a plugin for DbGate that enables connecting to Microsoft SQL Server databases. It is part of the DbGate ecosystem (v7), built on tedious and mssql packages. This plugin is automatically included in the DbGate desktop application as a builtin plugin. It provides basic connectivity, query execution, and schema browsing. The plugin is maintained alongside the main DbGate releases. As a plugin, it does not have a standalone use outside of DbGate; developers install it via npm when embedding DbGate web version in their own applications. Version 7.1.13 is the latest stable release.
npm install dbgate-plugin-mssqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Registers the MSSQL plugin with DbGate, creates a connection to a SQL Server instance using environment variables, runs a simple query, logs results, and closes the connection.
Upgrade to dbgate-core v7 and use the new plugin registration pattern shown in quickstart.
Set engine to 'mssql@dbgate-plugin-mssql' when creating the connection.
Replace 'dialect: 'mssql'' with 'engine: 'mssql@dbgate-plugin-mssql''.
Use Node.js 12 or later.
Install mssql and tedious as dependencies if not using DbGate bundle.
Run 'npm install dbgate-plugin-mssql'.
Upgrade dbgate-core to v7 and ensure DbGate instance is created properly.
Verify username/password and enable SQL Server and Windows Authentication mode in SQL Server.
Check SQL Server service is running, firewall allows port 1433, and host/port are correct.