-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Given a valid connection string, the MySQL plugin isn't working as expected #1842
Comments
dupe of #870 |
3 tasks
sparrc
added a commit
that referenced
this issue
Oct 12, 2016
The MySQL DB driver has it's own DSN parsing function. Previously we were using the url.Parse function, but this causes problems because a valid MySQL DSN can be an invalid http URL, namely when using some special characters in the password. This change uses the MySQL DB driver's builtin ParseDSN function and applies a timeout parameter natively via that. Another benefit of this change is that we fail earlier if given an invalid MySQL DSN. closes #870 closes #1842
sparrc
added a commit
that referenced
this issue
Oct 12, 2016
The MySQL DB driver has it's own DSN parsing function. Previously we were using the url.Parse function, but this causes problems because a valid MySQL DSN can be an invalid http URL, namely when using some special characters in the password. This change uses the MySQL DB driver's builtin ParseDSN function and applies a timeout parameter natively via that. Another benefit of this change is that we fail earlier if given an invalid MySQL DSN. closes #870 closes #1842
sparrc
added a commit
that referenced
this issue
Oct 12, 2016
The MySQL DB driver has it's own DSN parsing function. Previously we were using the url.Parse function, but this causes problems because a valid MySQL DSN can be an invalid http URL, namely when using some special characters in the password. This change uses the MySQL DB driver's builtin ParseDSN function and applies a timeout parameter natively via that. Another benefit of this change is that we fail earlier if given an invalid MySQL DSN. closes #870 closes #1842
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Relevant telegraf.conf:
System info:
Steps to reproduce:
Expected behavior:
No errors in the error log.
Actual behavior:
Error being shown in the error log.
ERROR in input [mysql]: Errors encountered: [default addr for network 'tcp%!.(MISSING)1.123:3306%!'(MISSING) unknown]
Additional info:
The issue started after upgrading from version
0.13
to1.0.0
.The text was updated successfully, but these errors were encountered: