MySQL Forums
Forum List  »  PHP

Mysql with ssl and php script connection
Posted by: peter pan
Date: May 24, 2018 03:57AM

Hi all,

needs some help here

Ok we have set up mysql for ssl connections all works with the ssl connections using the workbench and the client certificates so ssl conections work

The problem i have is when i use a php script lets say wordpress i cant connect to the database because the connection needs ssl client cert in the script

can any one tell me the php code i need to add to the php script to use ssl client certs instead of the other unecrypted connection

currently its using

define('DB_NAME', '');
/** MySQL database username */
define('DB_USER', '');
/** MySQL database password */
define('DB_PASSWORD', '');
/** MySQL hostname */
define('DB_HOST', '');

how do i go about getting a php script like wordpress i use others too to use client certs aswell

Any help would be appreciated

Options: ReplyQuote


Subject
Written By
Posted
Mysql with ssl and php script connection
May 24, 2018 03:57AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.