mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-06 11:32:40 +00:00
Update docs for MySQL
MySQL supports a few non-standard options. Document them.
This commit is contained in:
parent
8913f4fc08
commit
2d2721d2d9
1 changed files with 9 additions and 0 deletions
|
@ -130,6 +130,15 @@ class Mysql extends DboSource {
|
|||
/**
|
||||
* Connects to the database using options in the given configuration array.
|
||||
*
|
||||
* MySQL supports a few additional options that other drivers do not:
|
||||
*
|
||||
* - `unix_socket` Set to the path of the MySQL sock file. Can be used in place
|
||||
* of host + port.
|
||||
* - `ssl_key` SSL key file for connecting via SSL. Must be combined with `ssl_cert`.
|
||||
* - `ssl_cert` The SSL certificate to use when connecting via SSL. Must be
|
||||
* combined with `ssl_key`.
|
||||
* - `ssl_ca` The certificate authority for SSL connections.
|
||||
*
|
||||
* @return boolean True if the database could be connected, else false
|
||||
* @throws MissingConnectionException
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue