title: What is MySQL's wait_timeout, net_read_timeout and net_write_timeout variable?
body: <p>I am doing bulk inserting and getting error as <code>Mysql2::Error: Lost connection to MySQL server during query:</code></p>
  <p>I searched for this error on the Internet and most of the blogs/articles asking to increase <code>net_read_timeout</code> value.</p>
  <p>I searched on the Internet about <code>net_read_timeout</code> but not getting any article/blog which describes it in easy to understandable language.
  On MySQL website net_read_timeout is describe as <code>&quot;The number of seconds to wait for more data from a connection before aborting the read&quot;</code>. I am totally confused with this statement and not getting it.</p>
  <p>I also want to know about net_write_timeout and wait_timeout variable.</p>