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

Fix db initialization status correctly on MySQL 8.0 #663

Closed ramereth closed 3 years ago

ramereth commented 3 years ago

This fixes #661.

On MySQL >= 8.0, it doesn't use MyASM by default anymore and thus we should be checking for a different file to see if the database has been properly initialized. Without this, this cookbook will try to initialize the database on every run causing obvious issues.

Signed-off-by: Lance Albertson lance@osuosl.org

Description

[Describe what this change achieves]

Issues Resolved

[List any existing issues this PR resolves]

Check List

kitchen-porter commented 3 years ago
1 Warning
:warning: This Pull Request is probably missing tests.

Generated by :no_entry_sign: Danger

kitchen-porter commented 3 years ago

Released as: 10.1.1