I am connecting to a remote database from my symfony2 application using this code
$connectionFactory = $this->container->get('doctrine.dbal.connection_factory'); $conn = $connectionFactory->createConnection(array( 'driver' => 'pdo_mysql', 'user' => 'mattias', 'password' => 'fdfsdf', 'host' => 'fs1.rrtgy.se', 'dbname' => 'csmedia', )); return $conn;
Is there a parameter that I can set for this using SSL?
Equivalent to something like this:
$link = mysql_connect("192.112.7.18","test","testpass",false,MYSQL_CLIENT_SSL)
source share