Skip to content

fixed access denied error messages #592

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

Closed
wants to merge 0 commits into from

Conversation

skoef
Copy link
Contributor

@skoef skoef commented Jun 22, 2021

When trying to reproduce my issue as I describe in #578 I came across an omission I made in #589: I directly pass the error code to NewDefaultError instead of the error message corresponding to that code. My apologies for the poor testing.

Also, I noticed that in a different case, the formatting of the user/address was the wrong way around in the access denied error. This gave

ERROR 1045 (28000): Access denied for user '127.0.0.1:51221'@'root' (using password: NO)

and now it correctly gives:

ERROR 1045 (28000): Access denied for user 'root'@'127.0.0.1:51259' (using password: NO)

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.

1 participant