title: Reading from stream failed - mysql_native_password error
body: <p>I have been facing the following error intermittently.</p>
  
  <p><strong>Authentication to host '127.0.0.1' for user 'root' using method 'mysql_native_password' failed with message: Reading from the stream has failed.</strong></p>
  
  <p>It shots up any time and I am at my wits end. I also posted a bug on MySQL bugs and solutions are not proving to be effective in any way.I hope you guys can help me out.</p>
  
  <p>Here is the link to MySQL Bug for details: <a href="http://bugs.mysql.com/bug.php?id=76597" rel="noreferrer">Never seems to go away</a>!</p>
  
  <p>Some more detail: I have a client-server system but this bug occurs on the server system(where MySQL database is installed) when a local running app on the server system tries to run a query.</p>
  
  <p>I had already opened a question <a href="https://stackoverflow.com/questions/29460779/mysql-reading-from-stream-failed">here</a> but since has been dead. Just a caveat I thought that skip-name-resolve solved the issue but it seems to just have lowered the frequency. Hope someone would help me out this time around.</p>
  
  <p><strong>EDIT</strong>: The MySQL guys say that in a client server setup server may close a connection if it is unused for a long time. However, this is not what I am facing as I create a new connection everytime I want to execute a query. I made this point clear in the last comment on the MySQL Bugs.</p>