I couldn't auth with root with nor without a password, the following error was printed.
ERRO[2019-03-23 13:07:41] [Lifetime Mngt Thread]: Failed to get all mitigation from DB
ERRO[2019-03-23 13:07:41] [Lifetime Mngt Thread]: Failed to get all Aliases from DB
For some reason alias.go doesn't print the auth error, even though there is a log.Printf line but I was able to get the real error by adding withError to active_acl_alias.go. The error was:
error="Error 1698: Access denied for user 'root'@'localhost'"
I don't think the auth issue with root is critical as nobody should do that anyway. However it seems the error logging is somehow broken.
go-dots/dots_server/dots_server.yaml
Lines 40 to 41 in d5c0d8b
I couldn't auth with
rootwith nor without a password, the following error was printed.For some reason
alias.godoesn't print the auth error, even though there is alog.Printfline but I was able to get the real error by addingwithErrortoactive_acl_alias.go. The error was:I don't think the auth issue with
rootis critical as nobody should do that anyway. However it seems the error logging is somehow broken.