Skip to content

Commit 38c0701

Browse files
committed
More usage examples
1 parent 64a4cd7 commit 38c0701

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

readme.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,13 @@ If you are using the MySQL Native Driver and MySQL 5.6 or later `mysqli_real_con
6565

6666
define( 'MYSQL_CLIENT_FLAGS', MYSQLI_CLIENT_SSL | MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT );
6767

68+
= Example Config =
69+
70+
Aside from setting the normal MySQL connection parameters the minimum configs to get SSL connections to the database will look something like this in `wp-config.php`:
71+
72+
define( 'MYSQL_SSL_CA', '/path/to/rds-combined-ca-bundle.pem' );
73+
define( 'MYSQL_CLIENT_FLAGS', MYSQLI_CLIENT_SSL );
74+
6875
== Screenshots ==
6976

7077
1. An at a glance item is added showing the status of the MySQL connection when this plugin is activated. If the connection is encrypted the SSL version and cipher used will also be shown.

0 commit comments

Comments
 (0)