I tried to access MySQL from Python 3.3 with the following methods:
import mysql.connector
config = {
\'user\': \'###\',
\'password\': \'******\',
\'h
I was having lots of trouble with this same task. Here's what worked for me:
I had to initialize a new database using the legacy password encryption option (compatible with MySQL 5.x):
Database initialization options screenshot
Once I did that, everything worked fine. I got that suggestion from this article:
https://tableplus.com/blog/2018/07/failed-to-load-caching-sha2-password-authentication-plugin-solved.html
And here are some specs: