close

[Solved] Authentication plugin ‘caching_sha2_password’ is not supported

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error Authentication plugin ‘caching_sha2_password’ is not supported in python. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Authentication plugin ‘caching_sha2_password’ is not supported Error Occurs?

Today I get the following error Authentication plugin ‘caching_sha2_password’ is not supported in python.

How To Solve Authentication plugin ‘caching_sha2_password’ is not supported Error ?

  1. How To Solve Authentication plugin 'caching_sha2_password' is not supported Error ?

    To Solve Authentication plugin 'caching_sha2_password' is not supported Error I had the same problem and passing auth_plugin='mysql_native_password' did not work, because I accidentally installed mysql-connector instead of mysql-connector-python (via pip3). Just leaving this here in case it helps someone.

  2. Authentication plugin 'caching_sha2_password' is not supported

    To Solve Authentication plugin 'caching_sha2_password' is not supported Error I had the same problem and passing auth_plugin='mysql_native_password' did not work, because I accidentally installed mysql-connector instead of mysql-connector-python (via pip3). Just leaving this here in case it helps someone.

Solution 1

I had the same problem and passing auth_plugin='mysql_native_password' did not work, because I accidentally installed mysql-connector instead of mysql-connector-python (via pip3). Just leaving this here in case it helps someone.

Solution 2

This question is already answered here and this solution works.

caching sha2 password is not supported mysql

Just try this command :

pip install mysql-connector-python

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read