mysql2
mysql2 copied to clipboard
A modern, simple and very fast Mysql library for Ruby - binding to libmysql
Hi, When trying to switch to `prepared_statements`, our float columns had different values in ruby (2.6 series). For instance, 1.1 is now 1.100000023841858 I know that 1.100000023841858 is a [limited...
**Steps to Reproduce** * Have a query that will take a nontrivial amount of time to send results from the server to the client * e.g. `select x.column_name, y.table_name from...
``` PS G:\development\RUBY\code> gem install mysql2 -v 0.5.4 Temporarily enhancing PATH for MSYS/MINGW... Installing required msys2 packages: mingw-w64-x86_64-libmariadbclient error: mingw-w64-x86_64-c-ares: signature from "David Macek " is unknown trust error: mingw-w64-x86_64-brotli:...
Hi! I'm trying to bundle install and gem install mysql2 but got this error: `Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/mysql2-0.5.3/ext/mysql2 C:/Ruby27-x64/bin/ruby.exe -I C:/Ruby27-x64/lib/ruby/2.7.0 -r ./siteconf20210129-21332-1oa9p2g.rb...
I'm using mysql2 gem with the Gemfile definition as ```rb platforms :ruby do gem 'mysql2' gem 'pg', '~> 1.1' end ``` But what happens is `bundle install` is interrupted by...
I've tried a lot's different ways to install mysql2 gem on Windows Server 2019 and getting this error now: Ruby v 3.1 `C:\Users\qauser>gem install mysql2 -- --with-mysql-dir="C:\Program Files\MariaDB\MariaDB Connector C...
Hi all, We're getting the below error on the production site. > `[ActiveRecord::StatementInvalid - Mysql2::Error: This connection is still waiting for a result, try again once you have the result:...
Hello, I am upgrading different project from debian 10 to debian 11, with mysql2 0.5.3 gem. I am using CINC (like Chef infra) to bootrap my machine. With debian 10...
Code to add methods to result.c to access the query result's array of MYSQL_FIELDs, to access the MYSQL_FIELD.table and MYSQL_FIELD.db as Ruby Arrays of Strings. The code allows introspection of...
Is there a way to get the field table names from a query. I have a lot of multi table queries, where different tables have the same field names. When...