# Connection to Mysql is down after short period

**URL:** <https://forums.percona.com/t/connection-to-mysql-is-down-after-short-period/891>\
**Category:** Other MySQL® Questions\
**Created:** [August 17, 2008, 1:19am UTC](https://forums.percona.com/t/connection-to-mysql-is-down-after-short-period/891 "2008-08-17T01:19:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wissam](https://avatars.discourse-cdn.com/v4/letter/w/cab0a1/32.png) [@Wissam](https://forums.percona.com/u/Wissam)\
**Post date:** [August 17, 2008, 1:19am UTC](https://forums.percona.com/t/connection-to-mysql-is-down-after-short-period/891/1 "2008-08-17T01:19:13Z")

</div>

Dear colleagues,

I am using mysql 4.1.20 installed on linux operating system, the problem is when i run my processes that have a connection to mysql, they works fine but if the process still idle for a short period (about 1-2 hours ) then tries to use the connection again it found that the connection to mysql became down.

Thanks.  
Wissam

---

<div class="post-metadata">

**Author:** ![Speeple](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@Speeple](https://forums.percona.com/u/Speeple)\
**Post date:** [August 17, 2008, 9:02am UTC](https://forums.percona.com/t/connection-to-mysql-is-down-after-short-period/891/2 "2008-08-17T09:02:36Z")

</div>

The idle connection gets destroyed OR the MySQL process no longer exists (a crash or server stop ended the daemon)?
