python 3.4.3, pymysql 0.6.7 and 0.7.1, mysql 5.5.23 and 5.5.4x Can't connect to mysql with ssl option. With mysql workbench and with mysql-client secure connection works fine. I have tested it on two mysql servers on debian and windowspython 3.4.3, pymysql 0.6.7 and 0.7.1, mysql 5.