I’ve noticed that for each connection there is this warning in the Mysql error log:
[Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ‘‘mysql_native_password’ is deprecated and will be removed in a future release. Please use caching_sha2_password instead’
On our highly visit site the error log grows realy rapidly
I checked one of my servers and found a 1.8 GB error log file for MySQL.
99.99% of the logs are warnings like:
Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
In my case it might be happen because I connect on that server with external databases (or other server user connect with that server). Does this happen in your case @yuluma too?
EDIT
Like @yuluma already mentioned, all mysql database user are created with the “old” password hash plugin. But I’m courios why many of them don’t generate warnings and others not.
I have another with some warnings, but only a few hundred. Like I mentioned before, I think these warrnings exists because of non-localhost connections.
Sure it’s possible to change that value (both plugins are installed), but I remember me that I forced the native password version (on two servers) for some other reasons.
Strange is that only one of my servers has all the log entries. I disabled the warnings inside the log files with: log-error-verbosity = 1 inside the mysqld.conf file
I really like to know why the native password version is used for db users on new servers.
Hello! We are currently exploring updated recommendations from MySQL and creating a plan for how we’ll handle new servers / MySQL installations and guidance on existing instances.