Microsoft SQL Server connector for LoopBack framework, wrapping the mssql (node-mssql) driver. Version 3.8.0 supports Node.js >=8. Provides LoopBack models backed by MSSQL tables with automatic CRUD operations, migration, and discovery. Key differentiator: integrates natively with LoopBack datasources and juggler, offering promise/callback API. Release cadence is low; last release 2020. Alternatives: tedious/mssql directly if not using LoopBack.
npm install loopback-connector-mssqlNo compatibility data collected yet for this library.
Create a LoopBack MSSQL data source, define a model, auto-migrate table, and insert a record.
Migrate to LoopBack 4 or use mssql package directly.
Use either 'url' OR host/port/database/user/password, not both.
Set 'schema' in datasource config to your schema name.
Update Node.js to >=8 or pin to older connector version.
Verify MSSQL service is running, check host/port, and ensure network access.
Verify credentials and ensure SQL Server is in mixed authentication mode.
This error is for MySQL; ensure you are using the correct connector. For MSSQL, check login credentials and authentication mode.
Ensure ds is a valid DataSource instance and model is defined before calling ds.autoupgrade().