0

I have installed mysql in a RHEL 7 server. I have deployed my rails code in the same. When I run my migration I get the following error. I have installed mysql and I want the connection to be done to mysql and not mariadb.

rake aborted!
Incorrect MySQL client library version! 
This gem was compiled for 5.5.37-MariaDB but the client library is 5.6.20.

What should I do get this fixed?

EDIT:

database.yml:

default: &default
  adapter: mysql2
  encoding: utf8
  pool: 5
  username: root
  password:
  socket: /tmp/mysql.sock

development:
  <<: *default
  database: blah_development
Cyrus
  • 84,225
  • 14
  • 89
  • 153
Rahul
  • 44,892
  • 25
  • 73
  • 103

0 Answers0