WGS going un-responsive due to RC(20507)EXRC_CLIENT_NOT_TRUSTED.
This is just a symptom. The real issue is that the [MySQL][ODBC 5.1 Driver][mysqld-5.6.21]MySQL server has gone away. This usually happens when the connection to MySQL drops due to timeout. This occurs mostly on idle systems.
The MySQL server default wait_timeout is 28800 seconds, or 8 hours. This means that if a connection is idle for more than eight hours, MySQL will automatically disconnect the connection. The connection is still valid in the connection pool, when the application applies for use of the connection.
Modify the MySQL parameters to be 31536000 (1 year). Modify the following two parameters in my.cnf. Restart the server to take effect.
wait_timeout = 31536000
interactive_timeout = 31536000
Visit the following link to view the full instructions: