diff --git a/config/config.sample.php b/config/config.sample.php index 6005352e9d5d4baa6ff76658c6d15acd6918054f..d1ad1cd38d7a4f4d6b2fb9e87e8b052ca6f8f815 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' ), /**