Interact with Mysql Server using mysql2 gem [Part 1] - Select operations

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Figaro

    Simple Rails app configuration

  • Here, we are creating a service with private method connect_to_db that connects to our external mysql database. We are using following from application.yml:

  • mysql2

    A modern, simple and very fast Mysql library for Ruby - binding to libmysql

  • We will be using mysql2 gem for our purpose. Let's first create a service to connect with external mysql server.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts