Top "Mysql2" questions

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

rails server fails to start with mysql2 using rvm & ruby 1.9.2-p0 on OSX 10.6.5

I'm getting the following error when I start rails server: $ rails server /Users/ssmith/.rvm/gems/ruby-1.9.2-p0/gems/mysql2…

macos rvm mysql2
Creating tables and problems with primary key in Rails

When I try to run the following code in Rails using Mysql2 as database manager: rake db:migrate I obtain …

mysql ruby-on-rails primary-key mysql2
mysql2 gem fails to compile with MySQL 5.6.12 on OS X with Homebrew

I updated all the packages I installed with Homebrew. MySQL got upgraded to 5.6.12 (from 5.5.27 or so): $ mysql --version mysql Ver 14.14 …

mysql ruby macos homebrew mysql2
Rake mysql2 "unknown database" error

I'm following instructions from a hand-over package from a previous group. I don't know too much about rails or mysql2. …

rake mysql2
Ruby Gem - LoadError

Ruby newbie here trying to figure out how to use a Gem and thus far the experience is not that …

ruby gem mysql2
Ruby mysql2 gem compiled for wrong mysql client library version

After updating MySQL to 5.5 using apt-get, the mysql2 gem stopped working. Here's the error: Incorrect MySQL client library version! This …

mysql ruby gem mysql2
MySQL2 gem won't install

I have been trying to install Gitlab on my Ubuntu 12.04 server for a long time, and all goes well until …

ruby-on-rails ruby mysql2 gitlab
Use MariaDB instead of MySQL in my Rails project

How can I use MariaDB instead of MySQL in my Rails project? When I try to install mysql2 gem it …

mysql ruby-on-rails mysql2 mariadb
Install mysql2 gem on Snow Leopard for Rails 3 with rvm

I have recently upgraded to Rails 3 and created a new application with Rails 3.0.3, but I keep getting an error Macintosh:$ …

ruby-on-rails ruby-on-rails-3 osx-snow-leopard mysql2
Installing Mysql 2 gem fails

I am trying to install mysql2 (version 0.4.5) and I am using Rails 5.0.2, Ruby 2.3.1 I've already installed mysql server using homebrew (…

ruby-on-rails rubygems mysql2