Document an example wait timeout for MySQL in case the web hoster is killing the connection too early - fixes #15407
This commit is contained in:
parent
16df1c5188
commit
acad7b30be
|
@ -1010,10 +1010,11 @@ $CONFIG = array(
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional driver options for the database connection, eg. to enable SSL
|
* Additional driver options for the database connection, eg. to enable SSL
|
||||||
* encryption in MySQL.
|
* encryption in MySQL or specify a custom wait timeout on a cheap hoster.
|
||||||
*/
|
*/
|
||||||
'dbdriveroptions' => array(
|
'dbdriveroptions' => array(
|
||||||
PDO::MYSQL_ATTR_SSL_CA => '/file/path/to/ca_cert.pem',
|
PDO::MYSQL_ATTR_SSL_CA => '/file/path/to/ca_cert.pem',
|
||||||
|
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET wait_timeout = 28800'
|
||||||
),
|
),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue