I have installed XAMPP and created a MariaDB database and PHP files to access that database, and everything works fine. Now I am writing a C++ program to access the same database, but I get the error message:
Authentication plugin 'mysql_native_password' cannot be loaded. The specified module cannot be found.
I created a new user with authentication 'mysql_old_password' and get a similar error message. It seems that the current version of XAMPP doesn't ship with any plugins. Creating an empty folder for the plugins doesn't help.
If I try to change the authentication method to 'caching_sha2_password', the operation fails, as 'mysql_native_password' and 'mysql_shared_password' are the only two authentication methods permitted, and the plugins are no longer supported.
So is it possible to do this with C++?