Opening a connection using SSL with python connector gives me following error:
MySQLdb.connect(host='host',user='user,passwd='xxx',db='xxx',) OperationalError: (2026, 'SSL connection error: ASN: unknown key OID type')
The same is when I am using bash mysql command:
mysql -p -u user -h host Enter password: ERROR 2026 (HY000): SSL connection error: ASN: unknown key OID type
The only way around I have found was to use --ssl-mode=DISABLED
mysql -p -u user -h host --ssl-mode=DISABLED Enter password: Welcome to the MySQL monitor. Commands end with ; or \g.
Is there any way I am able to mimic this using python connector? I am using mysql v 5.7.26 on Ubuntu 16.04 and python 3.5.2.