# 2006 MySQL server has gone away

**URL:** <https://forums.percona.com/t/2006-mysql-server-has-gone-away/3946>\
**Category:** Other MySQL® Questions\
**Created:** [December 14, 2014, 4:23pm UTC](https://forums.percona.com/t/2006-mysql-server-has-gone-away/3946 "2014-12-14T16:23:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChrisMoffatt](https://avatars.discourse-cdn.com/v4/letter/c/b5e925/32.png) [@ChrisMoffatt](https://forums.percona.com/u/ChrisMoffatt)\
**Post date:** [December 14, 2014, 4:23pm UTC](https://forums.percona.com/t/2006-mysql-server-has-gone-away/3946/1 "2014-12-14T16:23:04Z")

</div>

Hi,  
In the last couple of weeks we have been experiencing a 2006 MySQL server has gone away error intermittently on our servers, to allow connections again we run “FLUSH TABLES”. (we have this running on a cron to maintain stability at the moment)

We have upgraded to from MySQL 5.6.5 to MySQL 5.6.22 and switched now to Percona 5.6.21-70.

Server Mac Mini Core i7 16GB RAM 512GB Enterprise SSD.

ulimit -a

NB - This config has been tinkered with by many people over the years - My hunch is the problem lays within here…  
This is used in MM Replication environment.

[ShowStatus.txt](https://forums.percona.com/uploads/short-url/Smx2TTrlpasMQXpQsRXeicLhts.txt) (10.7 KB)

[Config.txt](https://forums.percona.com/uploads/short-url/p5GOWxGKI7KV2tP6bomVuYF82ki.txt) (14.8 KB)
