https://dev.mysql.com/doc/connector-python/en/connector-python-connectargs.html
As of Connector/Python 2.2.2, if the MySQL server supports SSL connections, Connector/Python attempts to establish a secure (encrypted) connection by default, falling back to an unencrypted connection otherwise.