From 949a484ab20e09ddbfb5d525b565f380fff58dd0 Mon Sep 17 00:00:00 2001 From: Ruan <2369127-ruany@users.noreply.gitlab.com> Date: Sun, 12 Oct 2025 10:04:20 +0300 Subject: [PATCH] Update Database SSL --- Database-SSL.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Database-SSL.md b/Database-SSL.md index 044b493..88fe9ed 100644 --- a/Database-SSL.md +++ b/Database-SSL.md @@ -35,4 +35,7 @@ Change it to: - Ensure that all of the paths are correct (client key, client certificate, and CA) as they might differ on your system. - Use the paths for the client key/certificate rather than the server key/certificate as these are two separate things. (The client pairs are for **connecting to** the database, and the server pairs are for **hosting** the database). -- [Note:](https://dev.mysql.com/doc/connectors/en/apis-php-pdo-mysql.html) "When running a PHP version before 7.1.16, or PHP 7.2 before 7.2.4, set MySQL 8 Server's default password plugin to *mysql_native_password* or else you will see errors similar to *The server requested authentication method unknown to the client \[caching_sha2_password\]* even when caching_sha2_password is not used." \ No newline at end of file + +- [Note:](https://dev.mysql.com/doc/connectors/en/apis-php-pdo-mysql.html) "When running a PHP version before 7.1.16, or PHP 7.2 before 7.2.4, set MySQL 8 Server's default password plugin to *mysql_native_password* or else you will see errors similar to *The server requested authentication method unknown to the client \[caching_sha2_password\]* even when caching_sha2_password is not used." + +- The PHP version installed must be version 7.0.18 or above to enable database SSL. On older versions, you will get a `Undefined class constant` error. \ No newline at end of file