How to fix this security issue on MySQL?
[!!] User '@localhost' is an anonymous account.
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It only takes a minute to sign up.Sign up to join this community
Do you want to remove the anon users? You can just use
DROP USER to remove them. They shouldn't have any special privileges, as stated in the MySQL Docs and should not be a major problem as they're only in the localhost.
If, even removing, you still can login or something, check out this other question.