Quantcast
Channel: MySQL Forums - Connector/Python
Viewing all articles
Browse latest Browse all 384

mysql.connector.errors.NotSupportedError: Authentication plugin 'caching_sha2_password' is not supported (no replies)

$
0
0
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]

Viewing all articles
Browse latest Browse all 384

Trending Articles