-
Notifications
You must be signed in to change notification settings - Fork 1.1k
mysql2 0.4.6 error: use of undeclared identifier 'MYSQL_SECURE_AUTH' #1222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
… undeclared identifier 'MYSQL_SECURE_AUTH'
@asiansteev Hello. Lines 5 to 8 in 470c84b
I think the issue occurs on your machine. Try to remove all versions of |
the version is locked at 0.4.6 in the Gemfile.lock. In order to push it forward, the version needs to be bumped in the gemspec |
… undeclared identifier 'MYSQL_SECURE_AUTH'
@asiansteev Did you run Try to delete |
I fixed this issue removing the mysql gem version from the |
When bundle installing, I get the following error when attempting to install the mysql2 gem:
at the end of the error it suggests to:
When I attempt that I get the same error.
I found this solution on stackoverflow, which suggests using at least mysql2 version 0.4.10. When I put 0.4.10 in the gemspec, it works. I will make a pull request with this change. Thanks!
devise_token_auth 0.2.0
ruby 2.3.7p456
osx 10.13.6
Full error:
The text was updated successfully, but these errors were encountered: