mysql2
mysql2 copied to clipboard
A modern, simple and very fast Mysql library for Ruby - binding to libmysql
Since our Ubuntu 18.04 servers were upgraded to libmysql 5.7.28 (security), we have a segmentation fault using mysql2 0.5.2 to connect to MariaDB 10.3/10.2 databases. If we downgrade the lib...
Hi, I am running into a weird issue on Rails 5 under docker compose, which I'm not sure what it means or how to debug. I get random raises of...
Hi I have error installing mysql 0.4.5 gem. I tried downloading opensll Tried this solution https://github.com/brianmario/mysql2/issues/1005#issuecomment-424786695 but I still get this error message ``` gem install mysql2 -v '0.4.5' --...
With the reconnect flag set, Whats not clear in the documentation is the behavior of a reconnect when a query fails? [Running under Rails 6] For example [code below] Example...
Mac Catalina Rails 6.0.21 Ruby 2.7.0 I am trying to install Rails 6.0.21 on my Mac (Catalina), with Ruby 2.7.0 The installation seems to finish fine. I generated a basic...
Hello, I'm trying to use this gem but I'm having an error when I use this command `bundle exec rake db:seed` I'm getting the following error, I'm using MacOS: ```...
I'm working with a legacy database and am getting this error: ``` Mysql2::Error (Invalid date in field 'REFERRAL_UPDATE_TIME': 0000-00-00 00:00:01): activerecord (5.2.1) lib/active_record/connection_adapters/mysql/database_statements.rb:34:in `each' activerecord (5.2.1) lib/active_record/connection_adapters/mysql/database_statements.rb:34:in `to_a' activerecord (5.2.1)...
I'm trying to run migrations or start my server on OSX. Anytime I try it crashes. ``` Process: ruby [54893] Path: /Users/USER/*/ruby Identifier: ruby Version: 0 Code Type: X86-64 (Native)...
I have installed the ruby ruby 2.5.3p105 (2018-10-18 revision 65156) [x64-mingw32] on docker microsoft/windowsservercore image and install the mysql2 for mariaDB connector with below commands: try with 1. gem install...
I am in the process to upgrade our application to Rails 5. I have upgraded to ruby 2.4.5 with all the gems in our gemfile with Rails 5.2.2. The mysql2...