SSL Connection Error while using MySQL Connector with Python

后端 未结 5 2094
余生分开走
余生分开走 2021-01-02 07:38

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

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-02 08:14

    I had the exact same problem, but since I was unable to use mlcr's solution (it was an AWS RDS database) my solution was different. I had to change mysql-connector-python versions from 8.x.x to 2.2.3. That resolved my issue entirely. Hope this helps someone.

提交回复
热议问题