Comments - How to stop database sleeping

9 years, 9 months ago Steel Brain

You might want to ping the database periodically. after lets say every 30 seconds. a single query like `select 1` to keep the connection alive works well.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.