I am building a high scale back-end daemon.
The backend database for logging purpose is MySQL.
Code and everything works fine. Currently on my Ubuntu desktop
MySQL server works fine.......but at night sometime server goes to sleeps meaning
no client connect is possible and also API based connection does not work
When I try connecting though command line prompt I get the following messages:
ERROR 2006 (HY000): MySQL server has gone away
No connection. Trying to reconnect...
What's the way to have MySQL server up and running during long period of less activity or inactivity.