7

In MariaDB I am having this warning in the error log. Is there a way to resolve the issue without knowing the user name?

[Warning] Aborted connection 1101 to db: 'unconnected' user: 'unauthenticated' host: '127.0.0.1' (This connection closed normally without authentication)
3
  • you can enable audit logs to track further about connections Commented Feb 11, 2021 at 6:05
  • 2
    I've had this happen with SSL connections because the user was connecting to the host as IP address instead of using its hostname... Commented Jun 16, 2021 at 12:55
  • I've also had this happen when someone tries to connect to the db with ssl enabled but using the wrong CA/cert/key for their client when using 2 way encryption with self signed certs. The connection might look something like this when using the command line mysql -u root -p -h mysite.com --protocol=TCP --ssl-ca=/pathto/client-ca-cert.pem --ssl-cert=/pathto/client-cert.pem --ssl-key=/pathto/client-key.pem --ssl-verify-server-cert Commented Aug 2, 2022 at 19:23

1 Answer 1

2

This is a user killing a connection before it negotiated to a user.

Unless you know what users executed mysql on the server at that exact time there's not much to track this down. Even if you did find a user, asking them to fully authenticate seems rather pointless.

Sign up to request clarification or add additional context in comments.

1 Comment

Update: From MDEV-12274 newer MariaDB versions won't log this noise as a warning.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.