LoopBack MySQL Connector

JSON →
library 5.4.2 ·javascript maintenance
verified Jun 5, 2026

The `loopback-connector-mysql` package is the official MySQL connector for the LoopBack framework (loopback-datasource-juggler), enabling MySQL database integration in LoopBack applications. The current version is 5.4.2, last updated in 2020, and it is in maintenance mode - not under active development. It supports MySQL 5.0+ and uses the `mysql` npm package under the hood. It provides automatic mapping between LoopBack model types and MySQL column types, connection pooling, and support for loopback-datasource-juggler operations. It is a legacy package; users are encouraged to migrate to LoopBack 4 and use `loopback-connector-mysql` compatible with LB4 or use `knex`-based connectors. This package should not be confused with newer versions for LoopBack 4.