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

MySQL Plugin: create and link my.cnf to allow configuring MySQL #2468

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

clessg
Copy link

@clessg clessg commented Dec 21, 2024

Summary

Adds a $MYSQL_CONF env var to the MySQL Plugin to allow a custom my.cnf (MySQL config file). MySQL does not provide an environment variable, command line flag, or anything else to change the location (it's always computed as $MYSQL_HOME/my.cnf), so we simply create a symlink there pointing to the user's config.

How was it tested?

  • Forked devbox, made changes to the mysql plugin, and ensured everything worked in a custom project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant