在MariaDB中,我在错误日志中遇到了这个警告。有没有不需要知道用户名就可以解决这个问题的方法?
[Warning] Aborted connection 1101 to db: 'unconnected' user: 'unauthenticated' host: '127.0.0.1' (This connection closed normally without authentication)
这是一个用户在协商之前终止连接。
除非你知道在那个确切的时间有哪些用户在服务器上执行了MySQL操作,否则很难追踪此事。即使你找到了一个用户,要求他们完全验证身份似乎没有多大意义。
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
。 - Nick