talira

Compare

mysql2pgMongoDB Ruby Driversqlite3-ruby
What it isFast MySQL and MariaDB client library for Ruby, binding to libmysqlclientThe Ruby interface to PostgreSQLMongoDB's official Ruby driverRuby bindings for the SQLite3 embedded database
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.470.610.560.61
Stars22728721424848
Last commit2026-10-212026-11-132026-11-192026-11-25
LicenceMITBSD-2-Clause OR RubyApache-2.0BSD-3-Clause
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostable————
Ways to run it————
SOC 2————
HIPAA————
SSO————
API————
Plugins————
MCP server————
CompanyBrian Lopezruby-pg maintainersMongoDBSparkle Motion
Features
  • Client, Result and Statement classes for connecting, querying and prepared statements
  • Links against libmysqlclient or MariaDB Connector/C
  • Results as arrays or hashes, with type casting or raw strings
  • Async queries, multiple result sets and row streaming
  • TLS with verification modes and certificate fingerprint pinning
  • Active Record's mysql2 adapter uses it
  • connect to PostgreSQL and run queries from Ruby
  • binary gems that bundle libpq
  • works with PostgreSQL 10 and later
  • officially supported by MongoDB
  • supports Ruby 2.7 to 3.3 and JRuby 9.3 to 9.4
  • GPG-signed releases
  • semantic versioning
  • Database, Statement and ResultSet APIs
  • bound parameters
  • precompiled native gems with SQLite bundled
  • builds against system SQLite or drop-in replacements
  • loads SQLite extensions
Limitations
  • A client's connection can't be shared across fork(): call discard! in the child and open new connections
    • Only the most recent minor release of the driver is officially supported.