mysql2 VS activerecord-trilogy-adapter

Compare mysql2 vs activerecord-trilogy-adapter and see what are their differences.

mysql2

A modern, simple and very fast Mysql library for Ruby - binding to libmysql (by brianmario)

activerecord-trilogy-adapter

Active Record adapter for the Trilogy database client for Rails v6.0 - v7.0. (by trilogy-libraries)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
mysql2 activerecord-trilogy-adapter
4 2
2,226 165
- 1.8%
5.6 6.7
3 months ago about 2 months ago
Ruby Ruby
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

mysql2

Posts with mentions or reviews of mysql2. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-08.

activerecord-trilogy-adapter

Posts with mentions or reviews of activerecord-trilogy-adapter. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-01.
  • Are you absolutely sure your `has_one` association really has one association?
    1 project | /r/rails | 5 Jun 2023
    Along with scaling out, it's critical to have a highly reliable database driver, in order to auto-reconnect under heavy loads and have any current operation fully complete. Rails 7.1 introduces some of this resilience to the `ConnectionAdapters` module, and both Postgres and MySQL benefit. As well, for MySQL the [trilogy adapter](https://github.com/trilogy-libraries/activerecord-trilogy-adapter) from Github is introduced, which is optimised to handle the heaviest of Rails workloads.
  • Need help with installing mysql2 gem in rails application running on windows 11
    3 projects | /r/ruby | 1 Jun 2023
    And if you want to stick with Rails 7.0, there is still an option -- the back-ported driver is getting pretty close for prime time. In order to try it out, put this in your Gemfile:

What are some alternatives?

When comparing mysql2 and activerecord-trilogy-adapter you can also consider the following projects:

SQLite3 - Ruby bindings for the SQLite3 embedded database

PaperTrail - Track changes to your rails models

TinyTDS - TinyTDS - Simple and fast FreeTDS bindings for Ruby using DB-Library.

Ruby on Rails - Ruby on Rails

Clickhouse - A Ruby database driver for Clickhouse

AASM - AASM - State machines for Ruby classes (plain Ruby, ActiveRecord, Mongoid, NoBrainer, Dynamoid)

SQL Server - SQL Server Adapter For Rails

activerecord-trilogy-adapter - Active Record adapter for the Trilogy database client

ruby-pg

Redic - Lightweight Redis Client

MySQL - A pure node.js JavaScript Client implementing the MySQL protocol.

Neography - A thin Ruby wrapper to the Neo4j Rest API