PHP Classes

PHP MySQL SSL PDO Connection: Connect to a MySQL database using SSL certificates

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 395 All time: 6,597 This week: 404Up
Version License PHP version Categories
pdo-mysql-connection 1.0.0MIT/X Consortium ...5PHP 5, Databases, Security


This class can connect to a MySQL database using SSL certificates.

It extends the PDO class to connect to a given MySQL database with connection parameters specified in class variables.

The class set some connection attributes to specify the files of SSL client certificates, as well the certificate authority certificate file.

Innovation Award
PHP Programming Innovation award winner
May 2019

Prize: One official elePHPant Plush Mascott
MySQL is certainly the most popular database used in PHP applications. Many PHP developers use PDO to access MySQL from their applications but if you want to setup a secure connection with a MySQL servers, the configuration is not obvious.

This class extends the PDO class to setup a secure connection to a MySQL server using SSL certificates.

Manuel Lemos
Picture of adam berger
  Performance   Level  
Name: adam berger <contact>
Classes: 23 packages by
Country: Poland Poland
Age: ???
All time rank: 74521 in Poland Poland
Week rank: 117 Up2 in Poland Poland Up
Innovation award
Innovation award
Nominee: 8x

Winner: 2x




  Files folder image Files  
File Role Description
Accessible without login Plain text file LICENSE Lic. License text
Plain text file pdo-mysql-connection-ssl.php Class Class source
Accessible without login Plain text file Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,597
This week:404Up