Headscratcher here for me.
I am attempting to connect to a database on my local MySQL 8.0.11.0 install from Python.
Here\'s the code I\'m u
That is strange. I would install pymysql in a virtual environment and then drop some debugging lines in this function:
https://github.com/PyMySQL/PyMySQL/blob/master/pymysql/connections.py#L940
That should show what variables its actually using for the connection and make it obvious what is wrong.
Resolved the issue after downgrading MySQL from 8.0.11.0 to 5.7.22.
In addition to what I listed in my original question, I also tried the following:
When none of the above worked, I downgraded MySQL to v5.7, which is what one of my peers is using. That resolved the error.