on my Mac OS X 10.6 I did this to install the 2.8.1 gem, which worked perfectly with my MacPorts mysql5-server:
sudo env ARCHFLAGS="-arch x86_64" gem install mysql
More Related Contents:
- Error installing mysql2: Failed to build gem native extension
- Library not loaded: libmysqlclient.16.dylib error when trying to run ‘rails server’ on OS X 10.6 with mysql2 gem
- mysql2 gem compiled for wrong mysql client library
- Mysql::Error: Specified key was too long; max key length is 1000 bytes
- Rails, MySQL and Snow Leopard
- Rails 3 ActiveRecord: Order by count on association
- MySQL Install: ERROR: Failed to build gem native extension
- how to use DISTINCT ON with mysql using ActiveRecord
- How to delete duplicate records in mysql database?
- rails + MySQL on OSX: Library not loaded: libmysqlclient.18.dylib
- How do you write a case insensitive query for both MySQL and Postgres?
- Correct MySQL configuration for Ruby on Rails Database.yml file
- What the difference between mysql and mysql2 gem
- Rails select random record
- Ruby on Rails – cannot load such file — mysql2/2.2/mysql2 (LoadError)
- How do I escape reserved words used as column names? MySQL/Create Table
- How to store multiple options in a single table?
- How to populate a table with a range of dates?
- What is the opposite of GROUP_CONCAT in MySQL?
- How to Perform an UPSERT so that I can use both new and old values in update part
- brew install mysql on macOS
- TINYTEXT, TEXT, MEDIUMTEXT, and LONGTEXT maximum storage sizes
- How do I check to see if a value is an integer in MySQL?
- Store image to database blob; retrieve from db into Picturebox
- MySQL combine two columns into one column
- MySQL multiple columns in IN clause
- Reserved word in column name – insert into MySQL [duplicate]
- Communications link failure , Spring Boot + MySql +Docker + Hibernate
- FIND_IN_SET with multiple value [duplicate]
- Put MySQL database under version control?