MySQL Forums
Forum List  »  Connector/Python

mysql.connector.errors.NotSupportedError: Authentication plugin 'caching_sha2_password' is not supported
Posted by: Terence Chan
Date: September 28, 2018 09:12PM

I start python3 and entered the below
import mysql.connector
cxn=mysql.connector.connect(user='xx',password='xxx',database='xxx)

I get the error in the subject. Any idea? I listed the installed component as below.

mysql-apt-config/unknown,now 0.8.10-1 all [installed]
mysql-client/unknown,now 8.0.12-1ubuntu18.04 amd64 [installed,automatic]
mysql-common/unknown,now 8.0.12-1ubuntu18.04 amd64 [installed,automatic]
mysql-community-client/unknown,now 8.0.12-1ubuntu18.04 amd64 [installed,automatic]
mysql-community-client-core/unknown,now 8.0.12-1ubuntu18.04 amd64 [installed,automatic]
mysql-community-server/unknown,now 8.0.12-1ubuntu18.04 amd64 [installed,automatic]
mysql-community-server-core/unknown,now 8.0.12-1ubuntu18.04 amd64 [installed,automatic]
mysql-connector-python-py3/unknown,now 8.0.12-1ubuntu18.04 all [installed]
mysql-server/unknown,now 8.0.12-1ubuntu18.04 amd64 [installed]

Options: ReplyQuote


Subject
Written By
Posted
mysql.connector.errors.NotSupportedError: Authentication plugin 'caching_sha2_password' is not supported
September 28, 2018 09:12PM


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.