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

Add --mysqld.socket option #2

Merged
merged 1 commit into from
Jul 17, 2024
Merged

Add --mysqld.socket option #2

merged 1 commit into from
Jul 17, 2024

Conversation

rcrowley
Copy link
Collaborator

When DATA_SOURCE_NAME was removed it became impossible to configure mysqld_exporter to connect to MySQL via a socket without resorting to a my.cnf file.

This patch adds --mysqld.socket as an alternative to --mysqld.address and accompaniment to --mysqld.username. We expect it to be used in lieu of --config.my-cnf.

When DATA_SOURCE_NAME was removed it became impossible to configure
mysqld_exporter to connect to MySQL via a socket without resorting to a
my.cnf file.

This patch adds `--mysqld.socket` as an alternative to
`--mysqld.address` and accompaniment to `--mysqld.username`. We expect
it to be used in lieu of `--config.my-cnf`.
@rcrowley rcrowley merged commit 1bd81ac into main Jul 17, 2024
2 checks passed
@rcrowley rcrowley deleted the socket-option branch July 17, 2024 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants