Answers for "authentication plugin 'caching_sha2_password' is not supported"

3

raise errors.NotSupportedError( mysql.connector.errors.NotSupportedError: Authentication plugin 'caching_sha2_password' is not supported

You have probably installed mysql-connector instead of mysql-connector-python. So you need to install it again for python3:

pip3 install mysql-connector-python
Posted by: Guest on October-05-2020
-1

mysql.connector.errors.NotSupportedError: Authentication plugin 'caching_sha2_password' is not supported

#To resolve this error just add auth_plugin 
import mysql.connector

mydb = mysql.connector.connect(
  host="localhost",
  user="username",
  password="password",
  database="db name",
  auth_plugin='mysql_native_password'
)
Posted by: Guest on July-04-2020
0

authentication plugin 'caching_sha2_password' is not supported

pip install mysql-connector-python
Posted by: Guest on July-10-2021
0

Unable to load authentication plugin 'caching_sha2_password'

ALTER USER 'student'@'localhost' IDENTIFIED WITH mysql_native_password BY 'pass123';
Posted by: Guest on May-26-2020
3

raise errors.NotSupportedError( mysql.connector.errors.NotSupportedError: Authentication plugin 'caching_sha2_password' is not supported

You have probably installed mysql-connector instead of mysql-connector-python. So you need to install it again for python3:

pip3 install mysql-connector-python
Posted by: Guest on October-05-2020
-1

mysql.connector.errors.NotSupportedError: Authentication plugin 'caching_sha2_password' is not supported

#To resolve this error just add auth_plugin 
import mysql.connector

mydb = mysql.connector.connect(
  host="localhost",
  user="username",
  password="password",
  database="db name",
  auth_plugin='mysql_native_password'
)
Posted by: Guest on July-04-2020
0

authentication plugin 'caching_sha2_password' is not supported

pip install mysql-connector-python
Posted by: Guest on July-10-2021
0

Unable to load authentication plugin 'caching_sha2_password'

ALTER USER 'student'@'localhost' IDENTIFIED WITH mysql_native_password BY 'pass123';
Posted by: Guest on May-26-2020

Code answers related to "authentication plugin 'caching_sha2_password' is not supported"

Browse Popular Code Answers by Language