We're relying on the pymysql package in test results scripts on frdev1002 to connect to databases on frdb1003. However this no longer works
import pymysql, os db = pymysql.connect(host='frdb1003', read_default_file=os.path.expanduser('~/.my.cnf'))
gives
pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'frdb1003' ([SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'frdb1003'. (_ssl.c:1123))")
I saw a mention in @Dwisehaupt's email "Maintenance week day 1" that SSL connections are now enabled for most db connections. Any idea how we should do this in Python? It looks like pymysql has a variety of parameters for ssl in its connection method