diff options
author | Thomas Müller <DeepDiver1975@users.noreply.github.com> | 2016-04-13 14:10:56 +0200 |
---|---|---|
committer | Thomas Müller <DeepDiver1975@users.noreply.github.com> | 2016-04-13 14:10:56 +0200 |
commit | 15397a9c910925ac368001545ab96509a12cb0ad (patch) | |
tree | 954daa802a3b37b67a11a5d62b2eeabd9d01d2c2 | |
parent | 7f87c3e843607bd727b041522704cc9de3272780 (diff) | |
parent | 91e73328b86abbd1a4e806232ee840489338237c (diff) | |
download | nextcloud-server-15397a9c910925ac368001545ab96509a12cb0ad.tar.gz nextcloud-server-15397a9c910925ac368001545ab96509a12cb0ad.zip |
Merge pull request #23943 from owncloud/document-mysql-wait-timeout
Document an example wait timeout for MySQL in case the web hoster is …
-rw-r--r-- | config/config.sample.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index 6005352e9d5..d1ad1cd38d7 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -1010,10 +1010,11 @@ $CONFIG = array( /** * 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( PDO::MYSQL_ATTR_SSL_CA => '/file/path/to/ca_cert.pem', + PDO::MYSQL_ATTR_INIT_COMMAND => 'SET wait_timeout = 28800' ), /** |