Skip to content

Instantly share code, notes, and snippets.

@jnwheeler44
Last active December 11, 2015 02:28
Show Gist options
  • Save jnwheeler44/4530342 to your computer and use it in GitHub Desktop.
Save jnwheeler44/4530342 to your computer and use it in GitHub Desktop.
Incorrect MySQL client library version! This gem was compiled for 5.5.27 but the client library is 6.0.0. (RuntimeError)
If you get this: "Incorrect MySQL client library version! This gem was compiled for 5.5.27 but the client library is 6.0.0. (RuntimeError)"
The error might be because of a conflicting mysql-connector-c package installed by homebrew.
brew uninstall mysql-connector-c
gem uninstall mysql2
bundle
@ankit8898
Copy link

Uninstalling mysql2 did the job for me and then bundle install

@vijayprasad20
Copy link

It does not work for me. I had the same issue and i uninstall mysql2 but still same error while running command rake db:migrate. Can you please suggest me any other solution.
Thanks,
Vijay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment