Authentication not supported
FOR IMPORTING
import mysql.connector as c
db=c.connect(host='localhost',user='root',passwd='Akanksha',database='banking')
mc=db.cursor()
mc.execute("show tables")
for i in mc:
print(i)
WHILE MAKING CONNECTION BETWEEN MYSQL COMMAND LINE CLIENT AND PYTHON FOLLOWING MSG COMES:
File "C:\Users\pc\AppData\Roaming\Python\Python311\site-packages\mysql\connector\authentication.py", line 190, in get_auth_plugin
raise errors.NotSupportedError(
mysql.connector.errors.NotSupportedError: Authentication plugin 'caching_sha2_password' is not supported
WHEREAS MYSQL IS OPENING WITH PASSWORD
Subject
Written By
Posted
Authentication not supported
January 18, 2023 05:37AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.