title: python mysql database connection error
body: <p>I am trying to access the remote database from one Linux server to another which is connected via LAN.</p>
  
  <p>but it is not working.. after some time it will generate an error </p>
  
  <p>`_mysql_exceptions.OperationalError: (2003, "Can't connect to MySQL server on '192.168.0.101' (99)")'</p>
  
  <p>this error is random it will raise any time. 
  each time create a new db object in all methods.
  and close the connection as well then also why this error raise.
  can any one please help me to sort out this problem</p>