Skip to content
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

Installing the mysql2 gem on ubuntu 20.04 #658

Open
axos88 opened this issue Jan 23, 2021 · 3 comments
Open

Installing the mysql2 gem on ubuntu 20.04 #658

axos88 opened this issue Jan 23, 2021 · 3 comments
Labels
Feature Request Enhancement to existing functionality or new functionality

Comments

@axos88
Copy link
Contributor

axos88 commented Jan 23, 2021

There seems to be an openssl incompatibility between chef and the system, which used to be solved by the mysql2_chef_gem cookbook, but that hasn't been updated in a while. Is there a better way to install the mysql2 gem to be used by chef?

@axos88 axos88 added the Feature Request Enhancement to existing functionality or new functionality label Jan 23, 2021
@ramereth
Copy link
Contributor

@axos88 AFAIK this cookbook no longer uses the mysql2 so this shouldn't be a problem anymore. We removed it exactly for this reason.

@axos88
Copy link
Contributor Author

axos88 commented Feb 2, 2021

That's great, but as far as I see the cookbook does not provide a way to run SQL queries against the server either (to create and grant privileges to users and databases AND to initialize the db schema). I was looking to do that using the database cookbook, but this means that's not an option either.

Is there something i overlooked?

@ramereth
Copy link
Contributor

ramereth commented Feb 2, 2021

@axos88 this was actually just added in #655

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Enhancement to existing functionality or new functionality
Projects
None yet
Development

No branches or pull requests

2 participants