MySQL Cluster

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

A wrapper around the MySQL driver (mysql2 or mysql) that provides easy master/slave server setup via a PoolCluster configuration. Version 0.5.0 is the current stable release, though it has seen no recent updates. It allows you to define master and slave node pools and automatically route queries to the appropriate pool. Key differentiators include support for retries, node error counting, and round-robin or random selection strategies. This package simplifies read/write splitting in MySQL deployments.