# ERROR 2006 (HY000): MySQL server has gone away No connection. Trying to reconnect

**URL:** <https://forums.percona.com/t/error-2006-hy000-mysql-server-has-gone-away-no-connection-trying-to-reconnect/4545>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [November 24, 2015, 6:34pm UTC](https://forums.percona.com/t/error-2006-hy000-mysql-server-has-gone-away-no-connection-trying-to-reconnect/4545 "2015-11-24T18:34:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanjay92](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@sanjay92](https://forums.percona.com/u/sanjay92)\
**Post date:** [November 24, 2015, 6:34pm UTC](https://forums.percona.com/t/error-2006-hy000-mysql-server-has-gone-away-no-connection-trying-to-reconnect/4545/1 "2015-11-24T18:34:08Z")

</div>

Hi,  
I am not sure whether this questions belongs to Cluster side or just mysql server side.

I have set wait\_timeout and interactive\_timeout to 3600 ( 1 hr) but it looks like I see error message even much before 1 hr  
So what is causing this behavior ?

mysql\> select \* from test ;  
ERROR 2006 (HY000): MySQL server has gone away  
No connection. Trying to reconnect…  
Connection id: 114677

```auto

mysql> show global variables like '%timeout';
+-----------------------------+----------+
| Variable_name | Value |
+-----------------------------+----------+
| connect_timeout | 10 |
| delayed_insert_timeout | 300 |
| have_statement_timeout | YES |
| innodb_flush_log_at_timeout | 1 |
| innodb_lock_wait_timeout | 50 |
| innodb_rollback_on_timeout | OFF |
| interactive_timeout | 3600 |
| lock_wait_timeout | 31536000 |
| net_read_timeout | 30 |
| net_write_timeout | 60 |
| rpl_stop_slave_timeout | 31536000 |
| slave_net_timeout | 3600 |
| thread_pool_idle_timeout | 3600 |
| wait_timeout | 3600 |
+-----------------------------+----------+
14 rows in set (0.03 sec)

```
