title: MySql 'wait_timeout' Global Variable vs Variable
body: <p>I am trying to reproduce a connection timeout error by temporarily reducing the "wait_timeout" to 60 seconds instead of the default 28800 seconds.</p>
  
  <p>I added wait_timeout=60 to the my.ini file and restarted MySql.  Unfortunately, I am still not able to reproduce the error condition (unless i want to wait 28800 seconds).</p>
  
  <p>The queries below seem to indicate the "wait_timeout" is set to 60 at the global variable level but still set at 28800 seconds for the regular variable (is that the same as the session variable?).</p>
  
  <p>How can I correct this?  How is the setting in the my.ini getting overwritten?</p>
  
  <p>Thanks for any advice as I am still a bit of a MySql admin noob.  :)</p>
  
  <p>I'm running MySql 5.5.10 on Windows XP.</p>
  
  <pre><code>mysql&gt; show variables like 'wait_timeout';
  +---------------+-------+
  | Variable_name | Value |
  +---------------+-------+
  | wait_timeout  | 28800 |
  +---------------+-------+
  1 row in set (0.00 sec)
  
  mysql&gt; show global variables like 'wait_timeout';
  +---------------+-------+
  | Variable_name | Value |
  +---------------+-------+
  | wait_timeout  | 60    |
  +---------------+-------+
  1 row in set (0.00 sec)
  </code></pre>