i\'m trying to get my python program to insert data into MySQL and i followed a guide however i keep getting the error below.
\"Authentication plugin \'{0}\'
I had the same problem
"Authentication plugin '{0}' is not supported".format(plugin_name)) mysql.connector.errors.NotSupportedError: Authentication plugin 'caching_sha2_password' is not supported"
This happens because your Python connector does not support the authentication plugin caching_sha2_password and you need to update it. I fixed it by installing the correct Python connector from MySQL official site. Be sure to download the correct connector based on your operating system, MySQL version and the Python version you use.