We are connecting to mysql database from perl using DBI. The connection string has dns as $dsn = "DBI:mysql:database=test;host=myhost.portal.com;port=3306;";. But this connection is made using cleartext. We want to encrypt connection.
Which parameter we have to pass to make sure connection between application and mysql are encrypted or secure?
I check, there is mysql_ssl parameter, but not sure, does this encrypt the database connection.
The docs seems to answer this directly:
perl5-dbi/DBD-mysql#110 is also interesting reading.