I\'m using Python 3.6 (but I get the same error with Python 2.7) and mysql-connector-python in an Anaconda\'s environment to code a simple script to access my database hoste
I ran into the same issue on my mac, I was running mysql-connector-python version 8.0.16, I fixed the issue by downgrading to version 8.0.5