mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-10-29 14:02:24 +00:00
Update Database SSL
parent
38a60fe85c
commit
949a484ab2
@ -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."
|
||||
|
||||
- [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.
|
||||
Loading…
x
Reference in New Issue
Block a user