I am developing a qt (5.12.2) application which can connect to a mysql server. Recently i tried to connect to a mysql 8 server. I was unable to connect, and got the following error message:
Authentication plugin 'caching_sha2_password' cannot be loaded: The specified module could not be found.
After some digging, i found out that the problem was because of the new encryption implemented in mysql 8.
One workaround to this problem was to set the server to the legacy authentication method.
Is there a solution without switching back to the legacy authentication?