rails-mysql rake db :create – Library not loaded libmysqlclient.20.dylib image not found

The fix was to

gem uninstall mysql2

then reinstall it again with

bundle  # gem install mysql2 would also work

This recompiles and resolves the reference that had been left over from having mysql 5.7.9 installed.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)