mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-02 09:32:43 +00:00
Add settings array to connection parameters that executes SET statements once connected
This commit is contained in:
parent
b105318bcc
commit
ab510d1700
5 changed files with 36 additions and 0 deletions
|
@ -52,6 +52,12 @@
|
|||
*
|
||||
* unix_socket =>
|
||||
* For MySQL to connect via socket specify the `unix_socket` parameter instead of `host` and `port`
|
||||
*
|
||||
* settings =>
|
||||
* Array of key/value pairs, on connection it executes SET statements for each pair
|
||||
* For MySQL : http://dev.mysql.com/doc/refman/5.6/en/set-statement.html
|
||||
* For Postgres : http://www.postgresql.org/docs/9.2/static/sql-set.html
|
||||
* For Sql Server : http://msdn.microsoft.com/en-us/library/ms190356.aspx
|
||||
*/
|
||||
class DATABASE_CONFIG {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue