This can be done for instance by leveraging the public API from DSS, either the REST API directly or more simply via the python client, see Managing Connections.
This assumes that the MySQL JDBC driver is already installed on the DSS instance.