Closed ldilley closed 5 years ago
Implemented and validated on both test servers (MySQL and SEGS services have also been restarted on both hosts):
SELECT @@global.wait_timeout, @@session.wait_timeout;
+-----------------------+------------------------+
| @@global.wait_timeout | @@session.wait_timeout |
+-----------------------+------------------------+
| 604800 | 604800 |
+-----------------------+------------------------+
1 row in set (0.00 sec)
In the
[mysqld]
section ofmy.cnf
ormy.ini
on the pair of test servers, set thewait_time
(and optionally theinteractive_timeout
) value to604800
(7 days.) It is currently set to28800
(8 hours.) This requires a restart of the database server and can be validated with the following query:This will be an OK workaround while we wait for a permanent fix for the "MySQL server has gone away" issue.