There is no environment variable associated to the use of SSL in MySQL connection. Up to date the solution is to edit `wp-config.php` and add the line: <code> define('MYSQL_CLIENT_FLAGS', MYSQLI_CLIENT_SSL); </code>