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: unknown auth plugin #7

Open
mrjones-plip opened this issue Jun 14, 2018 · 2 comments
Open

mysql: unknown auth plugin #7

mrjones-plip opened this issue Jun 14, 2018 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@mrjones-plip
Copy link
Contributor

mrjones-plip commented Jun 14, 2018

If I use the default customer-db value in dnsauth.toml:

customer-db = "root:pass@(127.0.0.1)/customers"

Everything works fine. But if I use a custom one like this:

customer-db = "user:password@(192.168.68.42)/dns_query"

I get an error:

2018/06/14 19:50:37 [CustomerDB] Refreshing list from mysql...
[mysql] 2018/06/14 19:50:37 auth.go:293: unknown auth plugin:
[mysql] 2018/06/14 19:50:37 driver.go:120: could not use requested auth plugin '': this authentication plugin is not supported

The .42 IP is my mysql server with the zones table in the dns_query DB. The table is very large (80k+ rows).

I tested with different user name and passwords and database names and got the correct errors (bad auth & table not found), so it is connecting OK. Maybe it's still working? I'll test ingestion next, but we should resolve the error all the same.

@mrjones-plip
Copy link
Contributor Author

oh! it might be helpful to know that even with an authentication error, the unknown auth plugin error hits regardless:

2018/06/14 21:10:10 [CustomerDB] Refreshing list from mysql...
[mysql] 2018/06/14 21:10:10 auth.go:293: unknown auth plugin:
[mysql] 2018/06/14 21:10:10 driver.go:120: could not use requested auth plugin '': this authentication plugin is not supported
2018/06/14 21:10:10 [CustomerDB] ERROR: Could not refresh customer list ( Error 1045: Access denied for user 'useeeer'@'192.168.68.110' (using password: YES) )!

@mrjones-plip mrjones-plip added the bug Something isn't working label Jun 14, 2018
@mrjones-plip
Copy link
Contributor Author

It looks like this doesn't prevent ingestion, but I'm not sure if this affects #9 or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants