mysql icon indicating copy to clipboard operation
mysql copied to clipboard

Installing the mysql2 gem on ubuntu 20.04

Open axos88 opened this issue 4 years ago • 3 comments

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 avatar Jan 23 '21 17:01 axos88

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

ramereth avatar Jan 25 '21 23:01 ramereth

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?

axos88 avatar Feb 02 '21 10:02 axos88

@axos88 this was actually just added in #655

ramereth avatar Feb 02 '21 23:02 ramereth