Top "Mysql2" questions

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

Rails 3.1 / mysql2 error : "MySQL server has gone away"

I'm experiencing trouble upgrading my rails 2.3.14 / ruby 1.8.7 app to 3.1.1/1.9.2 : I have some (ActiveRecord::StatementInvalid) "Mysql2::Error: MySQL server has gone …

ruby-on-rails-3 activerecord mysql2
Migration to create table raises Mysql2::Error: Table doesn't exist

I wrote a migration with the following: class CreateTableSomeTable < ActiveRecord::Migration[5.1] def change create_table :some_tables do |t| …

mysql ruby-on-rails ruby mysql2
mysql2 gem Can't build native extensions

Our intern's computer is having problems installing the mysql2 gem. We just upgraded his computer from OS X 10.6 to 10.8 (Mountain …

ruby-on-rails macos gem mysql2