Top "Mysql2" questions

The Mysql2 gem is meant to serve the extremely common use-case of connecting, querying and iterating on results.

mysql2 gem in gem list but getting project can not find gem

I am currently building a RoR project that requires the mysql2 gem. I successfully installed the gem. Because it is …

ruby-on-rails ruby gem rubygems mysql2
How to use "mysql2" gem in Rails 3 application on Windows 7?

I try to install the mysql2 gem on Windows 7 32-bit. I run: gem install mysql2 and I get the following …

ruby-on-rails ruby-on-rails-3 windows-7 wamp mysql2
libruby.so.1.8: cannot open shared object file: No such file or directory

I am getting the below error while starting server of my project. I am trying to resolve since yesterday but …

ruby-on-rails mysql2
mysql2 gem installed fine but still getting "Please install the myslq2 adapter..." when running "rake db:migrate"

I've read through numerous posts here regarding mysql2, but although the gem seems to install fine, I still get error …

ruby-on-rails mysql2
Error "...cannot load such file -- mysql2/2.0/mysql2 (LoadError)". On Windows XP with Ruby 2.0.0

The command rails server throws this error. C:/Ruby200/lib/ruby/gems/2.0.0/gems/mysql2-0.3.11-x86-mingw32/lib/mysql2/mysql2.…

ruby-on-rails-3 mysql2 ruby-2.0
How do I resolve "incompatible library version" for mysql2 gem with ruby 2.3 on OS X?

I'm using ruby 2.3, and in the gemfile, I've got the mysql2 gem listed. But when I try to run rake …

ruby-on-rails ruby mysql2
Mysql2 Error MySQL server has gone away

I am getting this error occasionally. I have read some solutions in stackoverflow but they were about rails 2 or mysql. …

ruby-on-rails-3 mysql2
Rails error installing mysql2 (mysql2-0.3.20)

I am trying to get a rails project up and running on my local machine. When I do bundle install …

mysql ruby-on-rails rubygems mysql2
How to obtain result as array of Hashes in Ruby (mysql2 gem)

I'm using Ruby's mysql2 gem found here: https://github.com/brianmario/mysql2 I have the following code: client = Mysql2::Client.…

mysql ruby mysql2
Why does Rails 3 with Mysql2 Gem ActiveRecord::Base.connection.execute(sql) return Array not Hash?

I'm in the process of upgrading an application to Rails 3. I've decided to go with the mysql2 gem. There's some …

ruby-on-rails-3 gem mysql2