mysql2
mysql2 copied to clipboard
A modern, simple and very fast Mysql library for Ruby - binding to libmysql
## Overview We have some GraphQL mutation tests in a rails application that have been inconsistently failing with `malloc`/`segfault` errors. The more tests we run, the more likely the issues...
Hi, I'm having the following error while installing mysql2 gem on my windows machine: Installing mysql2 0.5.4 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory:...
A JOIN query can return values from columns from more than one table. It can happen that two different tables have columns of the same name, and sometimes I want...
Here , is the steps i tried to fix the issue with: - reinstall xcode comand line tools - installed [email protected] - passed zstd dir as an option `gem install...
On My local mysql installed at this place `/opt/homebrew/opt/[email protected]/bin` But somehow `bundle` command trying to install from `Cannot find include dir(s) /opt/homebrew/Cellar/mysql/8.0.28_1/include:/opt/homebrew/Cellar/mysql/8.0.28_1/include:/opt/homebrew/Cellar/mysql/8.0.28_1/include` path. This folder structure is not present. My...
Any ideas on how to solve it? Thanks in advanced. ``` bundle install Fetching gem metadata from https://rubygems.org/........ Installing mysql2 0.5.5 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem...
1. Ubuntu-based CI failing because of old keys 2. Fedora-based CI is failing because of missing dependency
MySQL 8.0.34 and 8.1.0 deprecates `MYSQL_OPT_RECONNECT` Since MySQL 8.0.34 and 8.1.0 deprecates `MYSQL_OPT_RECONNECT`, mysql2 gem is also affected. https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-34.html#mysqld-8-0-34-deprecation-removal https://dev.mysql.com/doc/relnotes/mysql/8.1/en/news-8-1-0.html#mysqld-8-1-0-deprecation-removal > The MySQL client library currently supports performing an automatic...
The problem was happening with a connection pool shared by many threads, but I found a simple way to reproduce it: ```ruby conf = { ... } clients = 10.times.map...