Skip to content
Snippets Groups Projects
Commit 91e73328 authored by Thomas Müller's avatar Thomas Müller
Browse files

Document an example wait timeout for MySQL in case the web hoster is killing...

Document an example wait timeout for MySQL in case the web hoster is killing the connection too early - fixes #15407

This reverts commit e9a9af34.
parent e9a9af34
No related branches found
No related tags found
No related merge requests found
...@@ -1010,10 +1010,11 @@ $CONFIG = array( ...@@ -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'
), ),
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment