Answers for "mysqlfrm.exe: error: Authentication plugin 'caching_sha2_password' is not supported"

SQL
-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

Code answers related to "mysqlfrm.exe: error: Authentication plugin 'caching_sha2_password' is not supported"

Code answers related to "SQL"

Browse Popular Code Answers by Language