awesome-repositories.com
Blog
MCP
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
mysqljs avatar

mysqljs/mysql

0
View on GitHub↗
18,623 stele·2,515 fork-uri·JavaScript·MIT·8 vizualizări

Mysql

This project is a MySQL database driver and client for Node.js. It provides a JavaScript implementation of the MySQL protocol to facilitate connecting to, querying, and managing data within MySQL databases.

The driver includes a connection pool manager to maintain a cache of reusable database connections, reducing the overhead of frequent network handshakes. It also supports row-by-row result streaming to process large datasets without loading entire result sets into memory.

Core capabilities cover SQL query execution, the management of database transactions, and the coordination of multiple database hosts. The project includes tools for SQL injection prevention through the sanitization of query inputs and the escaping of identifiers and values. Additionally, it handles data type casting between the database and JavaScript and provides utilities for server monitoring, such as heartbeat pings and statistics retrieval.

Features

  • MySQL Connectors - Provides a specialized driver to establish network connections to MySQL servers.
  • Node.js Database Integration - Provides a full JavaScript implementation of the MySQL protocol for Node.js applications.
  • Connection Establishment - Opens communication channels to database servers using host and credential details.
  • Connection Pools - Implements a connection pool manager to maintain a cache of reusable database connections.
  • Connection Pool Managers - Maintains a cache of reusable connections to reduce the overhead of frequent network handshakes.
  • SQL Query Execution - Sends SQL statements to the database and processes results through callbacks or options.
  • Database Connections - Manages the lifecycle of database connections, including graceful shutdown and destruction.
  • Database Transactions - Wraps multiple commands in atomic transactions using begin, commit, and rollback functions.
  • Binary Protocol Implementations - Implements the binary MySQL communication protocol using native Node.js buffers and sockets.
  • Result Streaming - Processes database packets as a stream to handle large result sets without memory exhaustion.
  • SQL Query Interfaces - Provides an interface for executing raw SQL commands and processing results via callbacks or streaming.
  • Socket Networking - Handles asynchronous request and response cycles by reading and writing raw binary packets over TCP sockets.
  • SQL Injection Prevention - Secures database queries against SQL injection through input sanitization and identifier escaping.
  • Data Type Casting - Provides a configurable transformation layer to map MySQL binary data types to JavaScript objects.
  • Database Host Distribution - Distributes connection requests across multiple database hosts using strategies like Round-Robin or Random.
  • Connection and Session Management - Tracks active session and thread identity on a per-socket basis to manage user switching and transaction scopes.
  • Database Drivers - MySQL client for Node.js.
  • Baze de date - MySQL client for Node.js.
  • Database Connectors - Implements the MySQL protocol for Node.js.

Istoric stele

Graficul istoricului de stele pentru mysqljs/mysqlGraficul istoricului de stele pentru mysqljs/mysql

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Alternative open-source pentru Mysql

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Mysql.
  • brianc/node-postgresAvatar brianc

    brianc/node-postgres

    13,155Vezi pe GitHub↗

    This project is a Node.js client for PostgreSQL databases, providing a protocol parser to translate raw binary streams into JavaScript objects. It serves as a driver for executing queries, managing data, and integrating Node.js applications with PostgreSQL backends. The library includes a connection pool manager to reduce network overhead by caching reusable connections and a result streamer that uses cursors to retrieve large datasets incrementally. It also functions as an event listener for subscribing to asynchronous server-side notifications to trigger real-time application events. Broad

    JavaScriptlibpqnode-postgrespostgres
    Vezi pe GitHub↗13,155
  • felixge/node-mysqlAvatar felixge

    felixge/node-mysql

    18,621Vezi pe GitHub↗

    This project is a pure JavaScript database driver for Node.js that implements the native MySQL binary protocol. It serves as a comprehensive connector for managing persistent network links to MySQL servers, enabling applications to execute queries, manage transactions, and handle complex data operations without requiring external middleware. The driver distinguishes itself through its integrated support for connection pooling and distributed database routing. It maintains managed sets of reusable network sockets to optimize resource usage under high request volumes, while simultaneously provi

    JavaScript
    Vezi pe GitHub↗18,621
  • sidorares/node-mysql2Avatar sidorares

    sidorares/node-mysql2

    4,369Vezi pe GitHub↗

    This project is a MySQL database driver for Node.js that establishes network connections and executes SQL queries using a native communication protocol. It functions as an asynchronous SQL client, providing a promise-based query interface and support for async/await patterns to manage non-blocking database operations. The library includes a full MySQL protocol implementation, serving as a toolkit for building custom database servers, proxies, or clients. It also operates as a connection pool manager and an injection prevention tool, utilizing prepared statements and parameterized queries to s

    TypeScript
    Vezi pe GitHub↗4,369
  • lib/pqAvatar lib

    lib/pq

    9,903Vezi pe GitHub↗

    pq is a PostgreSQL driver for Go that implements the standard database/sql interface. It serves as a connection library and protocol implementation that translates application data types into the binary and text formats required by PostgreSQL. The project provides specialized utilities for high-performance data ingestion using bulk data loading and a dedicated bulk data importer. It also features an implementation for listening to asynchronous server notifications and provides tools for connection load balancing across multiple hosts and ports. The driver covers a broad surface of database i

    Go
    Vezi pe GitHub↗9,903
Vezi toate cele 30 alternative pentru Mysql→

Întrebări frecvente

Ce face mysqljs/mysql?

This project is a MySQL database driver and client for Node.js. It provides a JavaScript implementation of the MySQL protocol to facilitate connecting to, querying, and managing data within MySQL databases.

Care sunt principalele funcționalități ale mysqljs/mysql?

Principalele funcționalități ale mysqljs/mysql sunt: MySQL Connectors, Node.js Database Integration, Connection Establishment, Connection Pools, Connection Pool Managers, SQL Query Execution, Database Connections, Database Transactions.

Care sunt câteva alternative open-source pentru mysqljs/mysql?

Alternativele open-source pentru mysqljs/mysql includ: brianc/node-postgres — This project is a Node.js client for PostgreSQL databases, providing a protocol parser to translate raw binary streams… felixge/node-mysql — This project is a pure JavaScript database driver for Node.js that implements the native MySQL binary protocol. It… sidorares/node-mysql2 — This project is a MySQL database driver for Node.js that establishes network connections and executes SQL queries… lib/pq — pq is a PostgreSQL driver for Go that implements the standard database/sql interface. It serves as a connection… magicstack/asyncpg — asyncpg is an asynchronous database driver and binary protocol client for PostgreSQL. It provides a non-blocking… jeremyevans/sequel — Sequel is a relational database toolkit for Ruby that provides object-relational mapping, a fluent SQL query builder,…