Category "mysql2"

ld: library not found for -lssl while installing mysql2 gem

I changed mysql2 version in my project's Gemfile from 0.3.20 to 0.5.2. When I run bundle update mysql2 I get the following error: Fetching mysql2 0.5.2 (was 0.

Mysql2::Client::LONG_PASSWORD (NameError)

I am trying to upgrade my ruby version from 2.4.5 to 2.4.9 in my rails app in Docker. After rebuilding my container it stops with the error: uninitialized co

Mysql2 connection in ruby always take my Ip address to connect and ignores the value in host

I am trying to connect to my database through mysql2 in ruby with the following: client = Mysql2::Client.new(:host => host, :username => username, :passw