add config options for MySQL compressed and encrypted connections

add support for MySQL compressed and encrypted connections

Pass compress and secure configs to database instance

Revert "add config options for MySQL compressed and encrypted connections"

This reverts commit cdb59c2a2443df638296239cf1e40f05efb0d851.

Revert "add config options for MySQL compressed and encrypted connections"

This reverts commit cdb59c2a2443df638296239cf1e40f05efb0d851.