The following errors occur suddenly when trying to connect to MySQL from Tableau:
[MySQL][ODBC 8.0(w) Driver]Authentication plugin 'caching_sha2_password' reported error: Authentication requires secure connection.
[MySQL][ODBC 8.0(w) Driver]Host '<ip address>' is blocked because of many connection error.
Option 1:
Make sure the MySQL server is available and health checks are completed.
Option 2:
If the MySQL server is available, review the following MySQL document*:
caching_sha2_password Compatibility Issues and Solutions
For clients using 'caching_sha2_password', establish either a secure connection (using TCP with TLS/SSL credentials, a Unix socket file, or shared memory) or an unencrypted connection that supports password exchange using an RSA key pair.
Alternative Solution
"If your MySQL installation must serve pre-8.0 clients and you encounter compatibility issues after upgrading to MySQL 8.0 or higher, the simplest way to address those issues and restore pre-8.0 compatibility is to reconfigure the server to revert to the previous default authentication plugin (mysql_native_password). "
*Although we make every effort to ensure links to external websites are accurate, up to date, and relevant, Tableau cannot take responsibility for the accuracy or freshness of pages maintained by external providers. Contact the external site for answers to questions regarding its content.
001534761

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.