fix(rds): install mysql.h headers in fakecloud-mysql image#812
Merged
vieiralucas merged 1 commit intomainfrom Apr 28, 2026
Merged
fix(rds): install mysql.h headers in fakecloud-mysql image#812vieiralucas merged 1 commit intomainfrom
vieiralucas merged 1 commit intomainfrom
Conversation
PR #811 cleared the package-install errors but the build still failed on `mysql.h: No such file or directory` because the mysql:8.0 base image (Oracle Linux) doesn't ship the UDF dev headers by default. Add `mysql-community-devel` to the microdnf install list (the package lives in the image's already-enabled `mysql-tools-community` repo), and `libmysqlclient-dev` for the Debian fallback. Drops the `ol8_codeready_builder` repo flag we no longer need.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stack of fixes on top of #811 to actually unbreak the
fakecloud-mysqlimage build:microdnf, but the image doesn't ship the UDF dev headers (mysql.h) by default. Addmysql-community-develto the install list — the image's enabledmysql-tools-communityrepo carries it.libmysqlclient-devto the Debian fallback for symmetry.ol8_codeready_builderrepo flag — the install works without it now that we have the right repo set.Mariadb builds went green on #811 already. This unblocks the remaining 2 mysql 8.0 jobs.
Test plan
docker-rds-images.ymlPR run all green (postgres + mysql + mariadb)Summary by cubic
Fixes the
fakecloud-mysqlimage build by installing the missing MySQL UDF headers (mysql.h). Unblocks the remaining MySQL 8.0 jobs.mysql-community-develtomicrodnfinstalls onmysql:8.0.libmysqlclient-devto the Debian path.ol8_codeready_builderrepo flag.Written for commit 01b0159. Summary will update on new commits. Review in cubic