title: CR.CR_SERVER_LOST, "Lost connection to MySQL server during query")
body: <p>I am new to the Python Flask and networking.
  I built a web application using Python Flask and MySQL database.
  It was deployed in a server instance and I am accessing it by using the server IP address. 
  Sometimes it gives following exception.</p>
  
  <pre><code>CR.CR_SERVER_LOST, "Lost connection to MySQL server during query")
  pymysql.err.OperationalError: (2013, 'Lost connection to MySQL server 
  during query')
  </code></pre>
  
  <p>I want to run this application continuously.</p>