diff --git a/reference/pdo_mysql/configure.xml b/reference/pdo_mysql/configure.xml
index bfee684dfd..8d00e945ca 100644
--- a/reference/pdo_mysql/configure.xml
+++ b/reference/pdo_mysql/configure.xml
@@ -24,6 +24,13 @@ $ ./configure --with-pdo-mysql --with-mysql-sock=/var/mysql/mysql.sock
]]>
+
+ SSL support is enabled using the appropriate PDO_MySQL constants,
+ which is equivalent to calling the MySQL C API function mysql_ssl_set().
+ Also, SSL cannot be enabled with PDO::setAttribute because the connection
+ already exists. See also the MySQL documentation about connecting to
+ MySQL with SSL.
+
&Changelog;
@@ -41,6 +48,18 @@ $ ./configure --with-pdo-mysql --with-mysql-sock=/var/mysql/mysql.sock
MySQL client libraries 4.1 and below are no longer supported.
+
+ 5.3.9
+
+ Added SSL support with mysqlnd and OpenSSL.
+
+
+
+ 5.3.7
+
+ Added SSL support with libmysql and OpenSSL.
+
+
diff --git a/reference/pdo_mysql/constants.xml b/reference/pdo_mysql/constants.xml
index e405a253ff..4b084d5e67 100644
--- a/reference/pdo_mysql/constants.xml
+++ b/reference/pdo_mysql/constants.xml
@@ -160,6 +160,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
+ The file path to the SSL certificate authority.
&version.exists.asof; 5.3.7.
@@ -174,6 +175,8 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
+ The file path to the directory that contains the trusted SSL
+ CA certificates, which are stored in PEM format.
&version.exists.asof; 5.3.7.
@@ -188,6 +191,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
+ The file path to the SSL certificate.
&version.exists.asof; 5.3.7.
@@ -202,6 +206,8 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
+ A list of one or more permissible ciphers to use for SSL encryption, in a format
+ understood by OpenSSL. For example: DHE-RSA-AES256-SHA:AES128-SHA
&version.exists.asof; 5.3.7.
@@ -216,6 +222,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
+ The file path to the SSL key.
&version.exists.asof; 5.3.7.