Skip to content

Commit

Permalink
Update docs for MySQL
Browse files Browse the repository at this point in the history
MySQL supports a few non-standard options. Document them.
  • Loading branch information
markstory committed Jul 20, 2013
1 parent 8913f4f commit 2d2721d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/Cake/Model/Datasource/Database/Mysql.php
Expand Up @@ -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
*/
Expand Down

0 comments on commit 2d2721d

Please sign in to comment.