I would like to connect to a MySQL database that requires ca-cert. I can do it with MySQLdb like below:
MySQLdb.connect(host = self.host, po
To use SSL certs with SQLAlchemy and MySQLdb, use the following python code:
db_connect_string='mysql://:@:3306/' ssl_args = {'ssl': {'cert':'/path/to/client-cert', 'key':'/path/to/client-key', 'ca':'/path/to/ca-cert'}} create_engine(db_connect_string, connect_args=ssl_args)