sous-chefs / mysql

Development repository for the mysql cookbook
https://supermarket.chef.io/cookbooks/mysql
Apache License 2.0
338 stars 690 forks source link

Installing the mysql2 gem on ubuntu 20.04 #658

Open axos88 opened 3 years ago

axos88 commented 3 years ago

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?

ramereth commented 3 years ago

@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 commented 3 years ago

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 commented 3 years ago

@axos88 this was actually just added in #655