RHEL 7
サーバーにmysqlをインストールしました。Railsコードを同じようにデプロイしました。移行を実行すると、次のエラーが発生します。インストールmysql
しましたが、mysql と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.
これを修正するにはどうすればよいですか?
編集:
データベース.yml:
default: &default
adapter: mysql2
encoding: utf8
pool: 5
username: root
password:
socket: /tmp/mysql.sock
development:
<<: *default
database: blah_development